<?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 : Events not visible with custom dataprovider</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Events not visible with custom dataprovider]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 13:00:44 +0000</pubDate>
  <lastBuildDate>Thu, 01 Jul 2010 09:10:15 +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=16866</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[Events not visible with custom dataprovider : I built next workaround to get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59180&amp;title=events-not-visible-with-custom-dataprovider#59180</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6179">RK007</a><br /><strong>Subject:</strong> 16866<br /><strong>Posted:</strong> 01 July 2010 at 9:10am<br /><br />I built next workaround to get all days with appointments highlighted in the DatePicker:<br><font face="Courier New, Courier, mono"><br>originalViewType := CalendarControl.viewtype&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // save actual ViewType<br>CalendarControl.viewtype := 0&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; // Switch to DayView<br>CalendarControl.DayView.ShowDays(start_date, end_date) // needed to get all dates highlighted<br>CalendarControl.DayView.ShowDays(today, today)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // needed to avoid that all days of all months are shown when switching to monthview<br>CalendarControl.viewtype := originalViewType&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // return to original ViewType<br></font><br>]]>
   </description>
   <pubDate>Thu, 01 Jul 2010 09:10:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59180&amp;title=events-not-visible-with-custom-dataprovider#59180</guid>
  </item> 
  <item>
   <title><![CDATA[Events not visible with custom dataprovider : It looks like I have been able...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59074&amp;title=events-not-visible-with-custom-dataprovider#59074</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6179">RK007</a><br /><strong>Subject:</strong> 16866<br /><strong>Posted:</strong> 23 June 2010 at 3:12am<br /><br />It looks like I have been able to solve it.<br>First of all I do not load the appointments with the DoGetAllEvents, but when my form is loaded.<br>Additionally to test my single user calendar I put the scheduleID of all apointments fixed to 0 because I thought that was the default, but it should have been 1. Now my appointments do show up in the calendar. <br><br>The only thing that is not working properly yet are the highlighted days in the datepicker.<br>When I open the calendar in dayview only the actual day (if it has appointments) is shown in bold.<br>When I open the calendar in weekview only the days of the week that have appointments are shown bold.<br>After switching to another view all days that have an appointment are shown in bold.<br>Any ideas?<br><br>I already tried Populate(), RedrawControl() and DetachFromCalendar in combination with AttachToCalendar().<br>]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 03:12:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59074&amp;title=events-not-visible-with-custom-dataprovider#59074</guid>
  </item> 
  <item>
   <title><![CDATA[Events not visible with custom dataprovider : I have a little problem to get...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59067&amp;title=events-not-visible-with-custom-dataprovider#59067</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6179">RK007</a><br /><strong>Subject:</strong> 16866<br /><strong>Posted:</strong> 22 June 2010 at 3:50am<br /><br />I have a little problem to get my appointments visible when using a custom dataprovider. I think it is related to the moment I read the information, but I cannot figure out what is the right moment/event to read the information.<br>It works fine when using 'memory' as dataprovider, but then I miss a lot of flexibility/functionality I would like to implement.<br><br>So let me try to explain in short what I try to accomplish.<br>We have an inhouse developed language, which is able to communicate with COM objects. So I try to implement the CalendarControl by 'translating' the examples.<br>It should be possible to show the appointments for one or more persons for a couple of weeks. The appointments have to be retrieved from two locations: an Oracle database and data stored on disk (.ics files).<br>When an appointment is modified, the modifications should be saved at both locations.<br><br>What I achieved right now is:<br><ul><li>one custom dataprovider</li><li>a resource/schedule for each person</li><li>the appointments are retrieved and stored in the CalendarEvents when the DoGetAllEventsRaw is fired</li><li>for each appoinment an event is created (CalendarDataProvider.CreateEvent()) and added to the events parameter (Events.Add())</li><li>at the the Populate() and RedrawControl() methods are called</li></ul>Despite the fact that the appointments are in the Events collection they are not shown in the Calendar.<br>I think the moment the Events collection is filled might not be the correct moment, but I cannot figure out what the right moment should be.<br>Or can it be related to the fact that I do not assign an EventID in the DoCreateEvent event (which doesn't seem to be fired by the way)?<br>Can anybody give an indication when exactly do I have to read the appointments and how can I make them visible in the Calendar?<br><br>]]>
   </description>
   <pubDate>Tue, 22 Jun 2010 03:50:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16866&amp;PID=59067&amp;title=events-not-visible-with-custom-dataprovider#59067</guid>
  </item> 
 </channel>
</rss>