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

Disable specific dates in the RadDatePicker

3 Answers 101 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
Lindell
Top achievements
Rank 1
Lindell asked on 02 Mar 2012, 09:55 AM
Hi,

I am creating a booking system and need to disable certain dates in the RadDatePicker if the products are not available on that day.
Is this possible with a RadDateTimePicker? I have read all the documentation and and the selectable range looks like it would work but I need disable multiple single days.


Thanks

3 Answers, 1 is accepted

Sort by
0
Georgi
Telerik team
answered on 06 Mar 2012, 04:48 PM
Hello Lindell,

At the moment RadDateTimePicker do not support using SelectableDateStart/End to achieve different intervals of time. Here you can find a feature request for that functionality. You can vote and track its progress.

All the best,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Matt
Top achievements
Rank 1
answered on 20 Mar 2012, 05:44 PM
Is there any work around to this?  For example could you use a TemplateSelector?  If so can you post a wpf example of how to implement a custom selector?  What about the concept of blackout dates, so not any particular range, but a set of dates that are not selectable.  Would you also use a template selector for that, or is there any kind of built in functionality for that?
0
Georgi
Telerik team
answered on 21 Mar 2012, 02:38 PM
Hello Matt,

Yes, you can use TemplateSelector. As an example you can see RadCalendar FirstLook demo at http://demos.telerik.com/wpf/. Instead of making the dates bold you can make it disabled.

Regards,
Georgi
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
DatePicker
Asked by
Lindell
Top achievements
Rank 1
Answers by
Georgi
Telerik team
Matt
Top achievements
Rank 1
Share this question
or