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

Array of Dates

1 Answer 39 Views
Calendar & Scheduling
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 02 Jul 2019, 01:38 AM

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.

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 02 Jul 2019, 04:18 PM
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
Tags
Calendar & Scheduling
Asked by
Raymond
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or