Selectable Dates List

6 posts, 0 answers
  1. Shawn
    Shawn avatar
    22 posts
    Member since:
    Jul 2011

    Posted 07 Aug 2012 Link to this post

    Hello,

    I want to set a list of dates that are selectable. Currently we are able to set a selectable date range, but this isn't quite what I want. I want to able to allow the selection of January 1st,2nd,3rd and the 21st. But NOT the dates from the 4th to the 20th. Is this possible with the RadCalendar control?

    Thank you,
    Shawn
  2. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 10 Aug 2012 Link to this post

    Hi Shawn,

    We have recently added new property BlackoutDates and you can easy bind it to an ObservableCollection of DateTime :

    <telerik:RadCalendar BlackoutDates="{Binding BlackoutDates}"/>

    ViewModel:
    public ObservableCollection<DateTime> BlackoutDates { get; set; }
     
          public ViewModel()
          {
              this.BlackoutDates = new ObservableCollection<DateTime>()
              {
                  new DateTime(2012,8,6),
                  new DateTime(2012,8,9)
              };
          }

    Hope this will help.



    Regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Shawn
    Shawn avatar
    22 posts
    Member since:
    Jul 2011

    Posted 10 Aug 2012 Link to this post

    hello,

    Thanks  for the reply! What version of the controls is that available in?

    - Shawn
  5. Georgi
    Admin
    Georgi avatar
    347 posts

    Posted 13 Aug 2012 Link to this post

    Hi Shawn,

    The BlackoutDates is a new property that we have added in Q2 2012 SP, which is our latest release. The version of the controls is 2012.2.725 and ait is available for download on our website.

    Regards,
    Georgi
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  6. Thiyagu
    Thiyagu avatar
    1 posts
    Member since:
    Apr 2013

    Posted 29 Apr 2013 Link to this post

    how to set the blackout dates in the RAD Scheduler control in month view mode
  7. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 02 May 2013 Link to this post

    Hello Thiyagu,

    The RadScheduleView control for Silverlight doesn't support blackout dates. It has a similar feature which makes some dates read-only. You can find more information for the read-only slots feature in this help article.

    Hope this helps.

    Greetings,
    Miroslav Nedyalkov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top
DevCraft banner