Hello Tejas,
Here is the correct way to stop selecting date bigger than "endDate":
And about the other questions:
#1: It will be hard to maintain "grayed" days through months navigation. Even you apply gray style to the days bigger than the "endDate" this style will be removed if the end user navigate to previous and then to the current month. One possible solution is to apply "t-other-month" class to the TD which contains date bigger than the "endDate". You can try to do this in the Load event handler. Just get calendar like so:
Then you just need to find required TDs and apply "t-other-month".
#2: On "From Date" change event just set min date of the "To Date". Use min() method to apply MinValue of the "To Date" datepicker.
#3: You can try to apply disabled="disabled" attribute to the HTML input element.
Regards,
Georgi Krustev
the Telerik team
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 Public Issue Tracking
system and vote to affect the priority of the items