Disabled Dates not honored with date range

1 Answer 36 Views
Calendar
Rick
Top achievements
Rank 2
Iron
Iron
Rick asked on 05 Sep 2024, 07:04 PM

Using the following example: https://blazorrepl.telerik.com/mIODuTlt02gFnIYp00

What I am trying to accomplish is the following:

I want the user to be able to pick a start date and end date using the range selector, if there are disabled dates between the range, the range should not be accepted since one or more of the dates are disabled.

 

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 05 Sep 2024, 07:17 PM

Hello Ricky,

Use the RangeStart and RangeEnd parameters together with their respective ...Changed handlers. This will allow you to:

  • know what the user is selecting
  • check if the selection meets your criteria and if not, override the RangeStart and RangeEnd parameter values
  • notify the user

Regards,
Dimo
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Calendar
Asked by
Rick
Top achievements
Rank 2
Iron
Iron
Answers by
Dimo
Telerik team
Share this question
or