How to limit available weekdays in Telerik WPF RadDatePicker within RadGridView based on model configuration

2 posts, 0 answers
  1. Coola
    Coola avatar
    7 posts
    Member since:
    Oct 2011

    Posted 29 Jun 2016 Link to this post

    I need to limit available weekdays to select in Telerik WPF RadDatePicker. This RadDatePicker is in column of Telerik WPF RadGridView. Configuration of weekdays available to select should be different for each row.

    I've created model with available weekdays configuration, but I don't know how to simply attach such functionality to RadGridView.

    Thanks in advance for any help.

  2. Dilyan Traykov
    Dilyan Traykov avatar
    613 posts

    Posted 04 Jul 2016 Link to this post

    Hello Coola,

    A good example of how you can create a custom column has been documented in our Create Custom Editor with RadGridView.

    You can use a similar approach in order to create a custom RadDatePicker column and bind its BlackoutDates property accordingly.

    You can also have a look at the Allowed Dates and Custom Column demos from our SDK Samples Browser if you have not done so already.

    I hope you find this helpful.

    Dilyan Traykov
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top