Array of Dates

2 posts, 0 answers
  1. Raymond
    Raymond avatar
    19 posts
    Member since:
    Jun 2019

    Posted 01 Jul 2019 Link to this post

    Is it possible to pass an array of dates to the control to enable specific dates in the calendar rather than just setting a minimum and maximum range?

    For example; I may have jobs allocated to a driver on Monday, Tuesday, Thursday and Friday so I don't want the driver selecting Wednesday to see if there are any jobs for that day.

  2. Lance | Manager Technical Support
    Admin
    Lance | Manager Technical Support avatar
    1195 posts

    Posted 02 Jul 2019 Link to this post

    Hello Raymond,

    At this time, the valid dates needs to be a singe range. To achieve what you want, you can use the SelectionChanged event to prevent the user from selecting that date. You can also programmatically select the next valid date for them (after showing a popup to let them know why the tapped date wasn't selected).

    Regards,
    Lance | Technical Support Engineer, Principal
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top