﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebScheduler - Client side WebSchedulerDateRange not returning all cells</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Client-side-WebSchedulerDateRange-not-returning-all-cells/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Client side WebSchedulerDateRange not returning all cells</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Client-side-WebSchedulerDateRange-not-returning-all-cells/</link><pubDate>Thu, 13 May 2010 15:25:09 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><category>webschedulerdaterange</category><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Peter,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Instead of marking the end time to 11.59 PM, you can simply set them to its next day. So for instance,&amp;nbsp;if we&amp;nbsp;wanted to mark date from 19/02/08 06:00 AM to 19/02/08 24:00 AM, here is the snippet to do so:&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;&lt;span style="font-size: 9pt"&gt;arr.Add(new WebSchedulerDateRange(new Date(2008, 2, 19, 6, 0, 0), new Date(2008, 2, 20, 24, 0, 0), 2, "DateTime"));
            &lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Notice that at the end time, I set the date to the next date and the hour to 24. With this, it will meet the scenario of ours. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope it helps. Thank you and have a nice day.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Best Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Client side WebSchedulerDateRange not returning all cells</title><link>http://www.intersoftsolutions.com/Community/WebScheduler/Client-side-WebSchedulerDateRange-not-returning-all-cells/</link><pubDate>Wed, 12 May 2010 15:06:56 GMT</pubDate><dc:creator>pwbriggs23</dc:creator><category>webschedulerdaterange</category><description>&lt;p&gt;I am trying to color a date range on the web schedule and when I get to the bottom of the schedule I can't seem to color the last slot.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;&lt;span style="font-size: 13px"&gt;arr1.Add(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; WebSchedulerDateRange(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; Date(Syear, Smonth, Sday, Shour, Smin, 0), &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; Date(Eyear, Emonth, Eday, Ehour, Emin, 0), 2, &lt;/span&gt;&lt;span style="color: #800000; font-size: 13px"&gt;&lt;span style="color: #800000; font-size: 13px"&gt;"DateTime"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;)); &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; elements1 = sControl.GetCellElements(arr1); &lt;p&gt;SetBackgroundColor(elements1, planBgColor);&lt;/p&gt;&lt;p&gt;For example 11 PM to 11:59 PM, on a 15 min interval schedule should have 4 slots colored...I can only shade 3 slots, the last slot does not get shaded.&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>