<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Excepti&#111;ns</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Excepti&#111;ns]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 16:42:11 +0000</pubDate>
  <lastBuildDate>Sun, 14 May 2006 07:23:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=4167</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Excepti&#111;ns : But it was different from the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12919&amp;title=exceptions#12919</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 4167<br /><strong>Posted:</strong> 14 May 2006 at 7:23am<br /><br /><P>But it was different from the previous version (9.8.1, 9.8.2)</P><P>ChangeEvent(masterEV) was not killing the exceptions in the storage. Now it is..</P><P>I manage to change the codes in my program to cater for that though.. it is alright now.</P>]]>
   </description>
   <pubDate>Sun, 14 May 2006 07:23:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12919&amp;title=exceptions#12919</guid>
  </item> 
  <item>
   <title><![CDATA[Excepti&#111;ns :  Ok, let me note once more about...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12786&amp;title=exceptions#12786</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4167<br /><strong>Posted:</strong> 08 May 2006 at 2:36pm<br /><br />Ok, let me note once more about master events...<br>Here is a hierarchy:<br><br>&lt;master event&gt; - contains a recurrence pattern inside itself.<br>&nbsp;&nbsp;&nbsp; &lt;recurrence pattern&gt; - contains exceptions events inside itself <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;exception events collection&gt;<br><br>CalendarControl.DataProvider.AddEvent(masterEv);&nbsp; - add master event with empty exceptions collection<br>&nbsp;&nbsp;&nbsp; .... &nbsp;<br>CalendarControl.DataProvider.ChangeEvent(excepEv); - add exception to master event in the storage only.<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; masterEv object is not updated!<br>&nbsp;<br>CalendarControl.DataProvider.ChangeEvent(masterEv); - this master event object has empty exceptions collection. This line kills exceptions in the storage.<br><br>This works in the same way in all calendar versions.<br><br>--<br>WBR,<br>Serge <br>]]>
   </description>
   <pubDate>Mon, 08 May 2006 14:36:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12786&amp;title=exceptions#12786</guid>
  </item> 
  <item>
   <title><![CDATA[Excepti&#111;ns : The moment you were typing the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12778&amp;title=exceptions#12778</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 4167<br /><strong>Posted:</strong> 08 May 2006 at 11:23am<br /><br /><P>The moment you were typing the reply.. i found out the difference. </P><P>if you do&nbsp;a ChangeEvent(masterEvent)... it overrides the exceptions.. This is causing problems whereby i want to change only details of the series.. like the title.. .and when i do a changeEvent.. i lose my exceptions.. There are work arounds.. but expensive in development time and execution time also.</P><P>In the previous version, it was alright</P><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> </P><FONT size=2><P></FONT><FONT color=#008080 size=2>CalendarEvent</FONT><FONT size=2> masterEv = CalendarControl.DataProvider.CreateEvent();</P><P></FONT><FONT color=#008000 size=2>//DateTime tempdate = DateTime.Now;</P></FONT><FONT size=2><P>masterEv = CalendarControl.DataProvider.CreateEvent();</P><P>masterEv.Subject = </FONT><FONT color=#800000 size=2>"Master Ev"</FONT><FONT size=2>;</P><P>masterEv.Location = </FONT><FONT color=#800000 size=2>"Master Loca"</FONT><FONT size=2>;</P><P>masterEv.ScheduleID = 1;</P><P></FONT><FONT color=#008080 size=2>CalendarRecurrencePattern</FONT><FONT size=2> RecurEv = masterEv.CreateRecurrence();</P><P></FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2> dtStart = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>(</FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.Year, </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.Month, </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.Day, 13, 8, 0);</P><P></FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2> dtRecurencePattern_Start = </FONT><FONT color=#0000ff size=2>new</FONT><FONT size=2> </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>(</FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.Ticks);</P><P></FONT><FONT color=#008000 size=2>// duration</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// RecurEv.StartTime = DateTime.Now;</P></FONT><FONT size=2><P>RecurEv.DurationMinutes = 60;</P><P></FONT><FONT color=#008000 size=2>// period</P></FONT><FONT size=2><P>dtRecurencePattern_Start = </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.AddDays(-4);</P><P>RecurEv.StartDate = dtRecurencePattern_Start;</P><P>dtRecurencePattern_Start = </FONT><FONT color=#008080 size=2>DateTime</FONT><FONT size=2>.Now.AddDays(10);</P><P>RecurEv.StartTime = dtRecurencePattern_Start;</P><P>RecurEv.EndDate = dtRecurencePattern_Start;</P><P>RecurEv.Options.RecurrenceType = </FONT><FONT color=#008080 size=2>CalendarRecurrenceType</FONT><FONT size=2>.xtpCalendarRecurrenceDaily;</P><P>RecurEv.Options.DailyEveryWeekDayOnly = </FONT><FONT color=#0000ff size=2>false</FONT><FONT size=2>;</P><P>RecurEv.Options.DailyIntervalDays = 1;</P><P>masterEv.UpdateRecurrence(RecurEv);</P><P>CalendarControl.DataProvider.AddEvent(masterEv);</P><P></FONT><FONT color=#008000 size=2>// CalendarControl.DataProvider.ChangeEvent(masterEv);</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>/************/</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>/************/</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>// CalendarEvent excepEv = CalendarControl.DataProvider.CreateEventEx(masterEv.Id);</P></FONT><FONT size=2><P></FONT><FONT color=#008080 size=2>CalendarEvent</FONT><FONT size=2> excepEv = CalendarControl.DataProvider.CreateEvent();</P><P>excepEv.StartTime = dtRecurencePattern_Start.AddDays(-9);</P><P>excepEv.EndTime = dtRecurencePattern_Start.AddDays(-9).AddMinutes(60);</P><P>excepEv.Subject = </FONT><FONT color=#800000 size=2>"Excep Ev"</FONT><FONT size=2>;</P><P>excepEv.ScheduleID = 2;</P><P>excepEv.MakeAsRExceptionEx(RecurEv.Id);</P><P>&nbsp;</P><P></FONT><FONT color=#008000 size=2>// excepEv.RExceptionEndTimeOrig = dtRecurencePattern_Start.AddDays(-10).AddMinutes(60);</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>//excepEv.RExceptionStartTimeOrig = dtRecurencePattern_Start.AddDays(-10);</P></FONT><FONT size=2><P>excepEv.StartTime = dtRecurencePattern_Start.AddDays(-9).AddMinutes(180);</P><P>excepEv.EndTime = dtRecurencePattern_Start.AddDays(-9).AddMinutes(240);</P><P></FONT><FONT color=#008000 size=2>//excepEv.RExceptionDeleted = true;</P></FONT><FONT size=2><P>CalendarControl.DataProvider.ChangeEvent(excepEv);</P><P></P><P></P><P></P><P></FONT><FONT color=#008000 size=2>// CalendarControl.DataProvider.ChangeEvent(masterEv);</P></FONT><FONT size=2><P>excepEv = CalendarControl.DataProvider.CreateEvent();</P><P>excepEv.StartTime = dtRecurencePattern_Start.AddDays(-8);</P><P>excepEv.EndTime = dtRecurencePattern_Start.AddDays(-8).AddMinutes(60);</P><P>excepEv.Subject = </FONT><FONT color=#800000 size=2>"Excep Ev"</FONT><FONT size=2>;</P><P>excepEv.MakeAsRExceptionEx(RecurEv.Id);</P><P>&nbsp;</P><P></FONT><FONT color=#008000 size=2>// excepEv.RExceptionEndTimeOrig = dtRecurencePattern_Start.AddDays(-10).AddMinutes(60);</P></FONT><FONT size=2><P></FONT><FONT color=#008000 size=2>//excepEv.RExceptionStartTimeOrig = dtRecurencePattern_Start.AddDays(-10);</P></FONT><FONT size=2><P>excepEv.StartTime = dtRecurencePattern_Start.AddDays(-8).AddMinutes(-180);</P><P>excepEv.EndTime = dtRecurencePattern_Start.AddDays(-8).AddMinutes(-120);</P><P></FONT><FONT color=#008000 size=2>//excepEv.RExceptionDeleted = true;</P></FONT><FONT size=2><P>CalendarControl.DataProvider.ChangeEvent(excepEv);</P><P>CalendarControl.DataProvider.ChangeEvent(masterEv);</P></FONT><P></td></tr></table></P><P>If you remove the last line, it will work...</P><P>Thanks</P><P>WaaZ</P>]]>
   </description>
   <pubDate>Mon, 08 May 2006 11:23:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12778&amp;title=exceptions#12778</guid>
  </item> 
  <item>
   <title><![CDATA[Excepti&#111;ns : Hmm...As I can see, neither Recurrence...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12776&amp;title=exceptions#12776</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4167<br /><strong>Posted:</strong> 08 May 2006 at 11:20am<br /><br />Hmm...<br>As I can see, neither Recurrence structure nor exceptions were not significantly changed, may be only some small fixes. <br><br>However, there were a lot of other data related changes like adding resources and schedules concepts. <br><br>Anyway, a couple simple tests I've tried right now works fine for me. So far, we need more details on your problems to say something.<br><br><br>ps: I can suppose only one problem related to recent changes -- now, if you use schedules, you have to set ScheduleID property both for master recurrence event and for exception event as well (the same value of course). <br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 08 May 2006 11:20:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12776&amp;title=exceptions#12776</guid>
  </item> 
  <item>
   <title><![CDATA[Excepti&#111;ns : Has there been any change in the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12762&amp;title=exceptions#12762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1751">WaaZ</a><br /><strong>Subject:</strong> 4167<br /><strong>Posted:</strong> 08 May 2006 at 7:12am<br /><br /><P>Has there been any change in the process of addind exceptions programatically?</P><P>The way it was being done in the previous version (9.8.2) is not working now on version 10.1.1</P><P>Thanks</P><P>WaaZ</P>]]>
   </description>
   <pubDate>Mon, 08 May 2006 07:12:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4167&amp;PID=12762&amp;title=exceptions#12762</guid>
  </item> 
 </channel>
</rss>