Home Search Member List Faq Register Login  
UltimateCalendar
Re: How to disable a range of dates

Thread Starter: gatorus13   Started: 12-09-2011 7:37 PM   Replies: 1
 Karamasoft Support Forums » General Discussions » UltimateCalendar » Re: How to disable a range of dates
 Printable Version    « Previous Thread   Next Thread »
  09 Dec 2011, 7:37 PM
gatorus13 is not online. Last active: 1/22/2012 11:33:35 AM gatorus13

Not Ranked
Joined on 12-10-2011
Posts 4
How to disable a range of dates
I am working on a project that requires multiple blocks of days to be disabled for multiple appointments. I know I can loop thru the dates and disable each specific day using the following code:

 UltimateCalendar1.DisabledDates.Add(Convert.ToDateTime("12/26/2011"));

Is there a way to just specify the starting and ending dates in one command and disable the entire range?  If so can you provide a code sample.

Thanks

  
  09 Dec 2011, 9:00 PM
Karamasoft is not online. Last active: 11/10/2017 3:24:14 PM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,818
Re: How to disable a range of dates
There is no API method to specify the start and end dates for the disabled dates. Sorry for the inconvenience.
  
 Page 1 of 1 (2 items)
Karamasoft Support Forums » General Discussions » UltimateCalendar » Re: How to disable a range of dates

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2018 Karamasoft LLC. All rights reserved.