<?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 : custom datasource &#101;vents</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : custom datasource &#101;vents]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 08:58:49 +0000</pubDate>
  <lastBuildDate>Wed, 24 May 2006 04:16:47 +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=4231</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[custom datasource &#101;vents : Yeah, I think you misunderstood...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13107&amp;title=custom-datasource-events#13107</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2019">RichardN</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 24 May 2006 at 4:16am<br /><br />Yeah, I think you misunderstood my question, I wanted to find out what the schedule ID of the selected range is, not the schedule id of an existing event. This would allow me to make a new task from a selection in the calendar without having to ask the user which schedule it is for.<br><br>I phoned tech support yesterday and they say that this is coming in the new release (out friday) under calendarcontrol.activeview.selection.groupindex<br>Thanks Guys!<br><img src="http://forum.codejock.com/smileys/smiley20.gif" border="0"><br>]]>
   </description>
   <pubDate>Wed, 24 May 2006 04:16:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13107&amp;title=custom-datasource-events#13107</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : Yes, I see that in current sample...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13100&amp;title=custom-datasource-events#13100</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 23 May 2006 at 5:43pm<br /><br />Yes, I see that in current sample it's not implemented. However, that's easy - just get this value from HitTest info: <br><table width="99%"><tr><td><pre class="BBcode"><br>HitTest.ViewGroup.GroupIndex<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 23 May 2006 17:43:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13100&amp;title=custom-datasource-events#13100</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : Thanks again, that was brilliant....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13045&amp;title=custom-datasource-events#13045</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2019">RichardN</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 19 May 2006 at 10:49am<br /><br />Thanks again, that was brilliant. I do have one other problem though. In a multiple schedules environment, is it possible to find out what scheduleid the selected time range is in when creating a new event. <br><br>If you look at the example files you can see that this feature is not implemented. Regardless of what schedule you had the selection for the default schedule for a new task is always John.<br>]]>
   </description>
   <pubDate>Fri, 19 May 2006 10:49:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=13045&amp;title=custom-datasource-events#13045</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : It is included in the standard...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12999&amp;title=custom-datasource-events#12999</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 18 May 2006 at 5:27am<br /><br />It is included in the standard suite installation. See \samples\Calendar\VB\CalendarSample -- SQL Server data provider (providerSQLServer.cls).<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Thu, 18 May 2006 05:27:44 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12999&amp;title=custom-datasource-events#12999</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : Thanks for the quick reply, I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12996&amp;title=custom-datasource-events#12996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2019">RichardN</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 18 May 2006 at 4:33am<br /><br />Thanks for the quick reply, I had a feeling it might work like that, the documentation isn't too clear about the way it should be done. Is that SQL server example available online, because the examples that came with the component don't appear to include any SQL server examples.]]>
   </description>
   <pubDate>Thu, 18 May 2006 04:33:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12996&amp;title=custom-datasource-events#12996</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : Hi Richard, You&amp;#039;re looking...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12981&amp;title=custom-datasource-events#12981</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 17 May 2006 at 3:45pm<br /><br />Hi Richard,<br><br>You're looking in a correct way. Just use DataProvider.CreateEventEx(EventID) method to create event object<br>instead of using new operator. This is implemented in such way to manage internal references between Event object and data provider which owns this event.<br><br>The pseudo code is:<br>&nbsp;<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub CalendarControl1_DoReadEvent(ByVal EventID As Long, pEvent As XtremeCalendarControl.CalendarEvent)<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' read recordset for event with id EventID<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dim objCalendarEvent as calendarevent<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set objCalendarEvent = CalendarControl1.DataProvider.CreateEventEx(EventID)<br>&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' set objcalendarevent properties<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ' end properties<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set pEvent = objCalendarevent<br><br>End Sub<br></pre></td></tr></table><br>&nbsp;<br>There are also some other aspects for reccurrence events.<br>Look at Calendar VB sample, SQL Server example.<br>&nbsp;<br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Wed, 17 May 2006 15:45:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12981&amp;title=custom-datasource-events#12981</guid>
  </item> 
  <item>
   <title><![CDATA[custom datasource &#101;vents : Hi, I&amp;#039;m just getting started...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12972&amp;title=custom-datasource-events#12972</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2019">RichardN</a><br /><strong>Subject:</strong> 4231<br /><strong>Posted:</strong> 17 May 2006 at 11:24am<br /><br />Hi, I'm just getting started with Xtreme Calendar. I was wondering how the calendar control expects the data to be returned from the custom datasource events. For instance when implementing the DoReadEvent method. I would expect to write something like this (pseudocode):<br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub CalendarControl1_DoReadEvent(ByVal EventID As Long, pEvent As XtremeCalendarControl.CalendarEvent)<br><br>read recordset for event with id EventID<br>dim objCalendarEvent as calendarevent<br>Set objCalendarEvent = new calendarevent<br>set objcalendarevent properties<br>.<br>.<br>.<br>.<br>end properties<br><br>set pEvent = objCalendarevent<br><br>End Sub<br></pre></td></tr></table><br><br>instead, the only way to create a calendarevent object seems to be by referencing the dataprovider object in the calendar control itself.<br>If this is the case intentionally, how should I go about creating the object? should I use the createeventex method and presumably thereby add it to the calendar's collection of events? If so, why include pEvent as an argument?<br><br>Are there any examples of these custom events already being implemented anywhere?<br><br>Thanks,<br>Richard.<br><br><br>]]>
   </description>
   <pubDate>Wed, 17 May 2006 11:24:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4231&amp;PID=12972&amp;title=custom-datasource-events#12972</guid>
  </item> 
 </channel>
</rss>