This is a migrated thread and some comments may be shown as answers.

Selectable Dates List

5 Answers 50 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 07 Aug 2012, 04:05 PM
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

5 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 10 Aug 2012, 07:12 AM
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.

0
Shawn
Top achievements
Rank 1
answered on 10 Aug 2012, 06:18 PM
hello,

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

- Shawn
0
Georgi
Telerik team
answered on 13 Aug 2012, 07:43 AM
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.

0
Thiyagu
Top achievements
Rank 1
answered on 29 Apr 2013, 11:25 AM
how to set the blackout dates in the RAD Scheduler control in month view mode
0
Miroslav Nedyalkov
Telerik team
answered on 02 May 2013, 09:27 AM
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.

Tags
Calendar
Asked by
Shawn
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Shawn
Top achievements
Rank 1
Thiyagu
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Share this question
or