<?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 : reload events...</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : reload events...]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 12:15:02 +0000</pubDate>
  <lastBuildDate>Sat, 16 Sep 2006 17:05:26 +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=5059</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[reload events... :    flauzer wrote: How to force...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5059&amp;PID=15757&amp;title=reload-events#15757</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5059<br /><strong>Posted:</strong> 16 September 2006 at 5:05pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by flauzer" alt="Originally posted by flauzer" style="vertical-align: text-bottom;" /> <strong>flauzer wrote:</strong><br /><br />&nbsp;<div>How to <strong>force</strong> CalendarControl to load all the events as occurred in Form_Load ?</div><div>&nbsp;</div><div>I mean load events = call&nbsp;all the event in the provider...( m_pCalendar_DoRetrieveDayEvents ...)</div><div></td></tr></table><br><br>You can call data provider's Close and then Open -- that will reload its events.<br><br>Also you can firstly delete all events using .RemoveAllEvents, then read all events from the database and call DataProvider.Add for each one. Also set some flag during this operation to not proceed DoCreate(Update)Event, and so on.<br><br>Also set cache mode to "On", "Repeat".<br><br><br><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by flauzer" alt="Originally posted by flauzer" style="vertical-align: text-bottom;" /> <strong>flauzer wrote:</strong><br /><br /></div><div>I've some trouble with Dataprovider.CacheMode ...</div></td></tr></table><br>What exactly?<br><br>Couple more suggestions: <br>- you can use DataProvider.ClearCache();<br>- or you can use Set DataProvider.CacheMode =<span style="font-family: 'Tahoma'; font-size: 12px; color: rgb(0, 0, 0); : transparent;"> xtpCalendarDPCacheModeOff</span>; <br>but the last one &#1089;ould slow down performance. It could be useful for debug purposes, or when using fast (memory based) accessed data.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 16 Sep 2006 17:05:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5059&amp;PID=15757&amp;title=reload-events#15757</guid>
  </item> 
  <item>
   <title><![CDATA[reload events... : sorry for a stupid question....  How...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5059&amp;PID=15729&amp;title=reload-events#15729</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=289">flauzer</a><br /><strong>Subject:</strong> 5059<br /><strong>Posted:</strong> 15 September 2006 at 9:23am<br /><br />sorry for a stupid question....<DIV>&nbsp;</DIV><DIV>How to <strong>force</strong> CalendarControl to load all the events as occurred in Form_Load ?</DIV><DIV>&nbsp;</DIV><DIV>I mean load events = call&nbsp;all the event in the provider...( m_pCalendar_DoRetrieveDayEvents ...)</DIV><DIV>&nbsp;</DIV><DIV>I've some trouble with Dataprovider.CacheMode ...</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 15 Sep 2006 09:23:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5059&amp;PID=15729&amp;title=reload-events#15729</guid>
  </item> 
 </channel>
</rss>