Disable specific dates in the RadDatePicker

4 posts, 0 answers
  1. Lindell
    Lindell avatar
    3 posts
    Member since:
    Feb 2012

    Posted 02 Mar 2012 Link to this post

    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
  2. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 06 Mar 2012 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Matt
    Matt avatar
    3 posts
    Member since:
    Oct 2011

    Posted 20 Mar 2012 Link to this post

    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?
  5. Georgi
    Admin
    Georgi avatar
    350 posts

    Posted 21 Mar 2012 Link to this post

    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 >>
Back to Top