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

Show outside date range as X

1 Answer 42 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 08 May 2013, 10:24 AM
Is there any sample that shows how we can disable calendar dates that falls outside certain date range(Min-Max) with X marker or grayed out as shown in attachment?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 10 May 2013, 09:00 AM
Hello Matt,

I am afraid this is not supported at present by Kendo UI Calendar. Actually this idea has been already submitted as a feature request, so if you wish you may case a vote, leave a comment or monitor the community's interest in it here. The more votes the suggestion collects, the higher priority will have. 

Meanwhile as a possible workaround I can suggest you to attach a handler to the Calendar's change event and prevent it if the selected date is out of some range. Also you should apply custom CSS in order to get "disabled" outcome for the aforementioned dates.

Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Calendar
Asked by
Matt
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or