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 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
    Admin
    Dilyan Traykov avatar
    371 posts

    Posted 04 Jul 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.

    Regards,
    Dilyan Traykov
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top