<?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 : DoRetrieveDayEvents getting called Twice?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : DoRetrieveDayEvents getting called Twice?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 30 May 2026 19:04:52 +0000</pubDate>
  <lastBuildDate>Wed, 08 Apr 2009 10:55:59 +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=10355</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[DoRetrieveDayEvents getting called Twice? : I also have this problem with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=47685&amp;title=doretrievedayevents-getting-called-twice#47685</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4996">Mattie161</a><br /><strong>Subject:</strong> 10355<br /><strong>Posted:</strong> 08 April 2009 at 10:55am<br /><br />I also have this problem with DoRetrieveDayEvents being triggered twice for all days when cache mode is off and only upon loading up the form with the calendar on. Was there no solution?]]>
   </description>
   <pubDate>Wed, 08 Apr 2009 10:55:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=47685&amp;title=doretrievedayevents-getting-called-twice#47685</guid>
  </item> 
  <item>
   <title><![CDATA[DoRetrieveDayEvents getting called Twice? : I have the same problem but this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=40373&amp;title=doretrievedayevents-getting-called-twice#40373</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=365">Alex H.</a><br /><strong>Subject:</strong> 10355<br /><strong>Posted:</strong> 25 August 2008 at 11:10am<br /><br />I have the same problem but this problem occurs only if I disable caching:<br><br>pData-&gt;SetCacheMode(xtpCalendarDPCacheModeOff);<br><br>But I think it shall also work without caching!<br>So it looks like an error of XTP 12.0.1?<br>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 11:10:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=40373&amp;title=doretrievedayevents-getting-called-twice#40373</guid>
  </item> 
  <item>
   <title><![CDATA[DoRetrieveDayEvents getting called Twice? : Hi,Is there any solution for this?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=34294&amp;title=doretrievedayevents-getting-called-twice#34294</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 10355<br /><strong>Posted:</strong> 28 April 2008 at 5:04am<br /><br />Hi,<br><br>Is there any solution for this? My call is going into recursion when I call SwitchActiveView and ShowDays.<br><br>Both functions are calling DoRetrieveDayEvents and I am already ready with the data in first call itself (SwitchActiveView).]]>
   </description>
   <pubDate>Mon, 28 Apr 2008 05:04:01 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=34294&amp;title=doretrievedayevents-getting-called-twice#34294</guid>
  </item> 
  <item>
   <title><![CDATA[DoRetrieveDayEvents getting called Twice? : Hi,I am having my own &amp;#034;2...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=34217&amp;title=doretrievedayevents-getting-called-twice#34217</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2774">prashant</a><br /><strong>Subject:</strong> 10355<br /><strong>Posted:</strong> 25 April 2008 at 3:15am<br /><br />Hi,<br><br>I am having my own "2 Day" calendar mode, for displaying this mode I need to do following steps<br><br>Step 1) &nbsp;&nbsp;&nbsp; GetCalendarCtrl().SwitchActiveView(xtpCalendarDayView);<br><br>Step 2) &nbsp;&nbsp;&nbsp; CXTPCalendarDayView* pDayView =&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; DYNAMIC_DOWNCAST(CXTPCalendarDayView, &nbsp;&nbsp;  <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; GetCalendarCtrl().GetDayView());<br><br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; pDayView-&gt;<b>ShowDays</b>(oleStartDay, oleEndDay);<br><br>Because of this <b>"<font color="#000066">DoRetrieveDayEvents getting called Twice</font>" </b>which is unnecessary.<br><br>What is the proper solution for this problem?<br><br><br>You are providing<br><pre ="Element100"><strong>enum</strong> XTPCalendarViewType {<br>  xtpCalendarDayView,<br>  xtpCalendarWorkWeekView,<br>  xtpCalendarWeekView,<br>  xtpCalendarMonthView<br>};<br><br><b>Apart from this do you have any customizable Calendar View mode?</b><br></pre>Thanks in advance.<br><br>]]>
   </description>
   <pubDate>Fri, 25 Apr 2008 03:15:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10355&amp;PID=34217&amp;title=doretrievedayevents-getting-called-twice#34217</guid>
  </item> 
 </channel>
</rss>