<?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 : Force refresh calendar view with new external data</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Force refresh calendar view with new external data]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 12 May 2026 21:02:59 +0000</pubDate>
  <lastBuildDate>Sun, 02 Apr 2017 17:29:31 +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=23302</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[Force refresh calendar view with new external data : I figure it out. In case it helps...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23302&amp;PID=75687&amp;title=force-refresh-calendar-view-with-new-external-data#75687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6580">reinaldo</a><br /><strong>Subject:</strong> 23302<br /><strong>Posted:</strong> 02 April 2017 at 5:29pm<br /><br />I figure it out. &nbsp;In case it helps others here is the answer. &nbsp;First you need to find the event from the events collection for the given day:<div><table width="99%"><tr><td><pre class="BBcode"></div><div>oEvents = oCalendar:DataProvider:RetrieveDayEvents( dDate )&nbsp;</div><div></pre></td></tr></table></div><div>Now you need to find the particular event that was changed by looping through the events list while comparing some field that you know is unique. &nbsp;Once you find the event it needs to be changed on the calendar control:</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>oCalendar:DataProvider:ChangeEvent( oEvents:Event( n ) )</div><div></pre></td></tr></table></div><div>Or removed if the event was deleted:</div><div><table width="99%"><tr><td><pre class="BBcode">oEvents:Remove( n )</div><div></pre></td></tr></table></div><div>I hope that helps others in the future.</div><div><br></div>]]>
   </description>
   <pubDate>Sun, 02 Apr 2017 17:29:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23302&amp;PID=75687&amp;title=force-refresh-calendar-view-with-new-external-data#75687</guid>
  </item> 
  <item>
   <title><![CDATA[Force refresh calendar view with new external data : Hello;How can I force a refresh...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23302&amp;PID=75686&amp;title=force-refresh-calendar-view-with-new-external-data#75686</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6580">reinaldo</a><br /><strong>Subject:</strong> 23302<br /><strong>Posted:</strong> 01 April 2017 at 11:45am<br /><br />Hello;<div><br></div><div>How can I force a refresh of the current calendar view if data has been externally modified? &nbsp;</div><div><br></div><div>Let's say I go and manually make changes to the table holding calendar events while the calendar is open on another workstation. &nbsp;I have ways to alert the app about the need to re-read data and refresh via a database notification. &nbsp;That part is not the problem. &nbsp;My question is, once the app receives the notification and thus it is aware that it needs to display new data, how can I tell the calendar control to re-read events from the data source and re-draw the calendar with the new externally modified data?</div><div><br></div><div>So far I've been trying with oCal:Populate() followed by oCal:RedrawContorl(), but that doesn't do anything.</div><div><br></div><div>Please help. &nbsp; Thank you,</div><div><br></div><div><br></div><div>Reinaldo.</div>]]>
   </description>
   <pubDate>Sat, 01 Apr 2017 11:45:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23302&amp;PID=75686&amp;title=force-refresh-calendar-view-with-new-external-data#75686</guid>
  </item> 
 </channel>
</rss>