I want to set the min/max of a datepicker with javascript. Currently I can do this via $('...').data('tDatePicker').minValue/maxValue = new Date(...) however, this does not reflect in the rendering of the calendar. Is there a way to rerender the calendar?
Thanks.
1 Answer, 1 is accepted
0
Georgi Krustev
Telerik team
answered on 15 May 2014, 08:24 AM
Hello Paul,
I am not exactly sure that the Calendar component part of Telerik Extensions for ASP.NET MVC suite supports changing the min/max range dynamically. I would suggest you use the Telerik UI for ASP.NET MVC, as it supports the required functionality.
As a side note, Telerik Extensions for ASP.NET MVC was discontinued and any additional questions should be asked in public forums like StackOverflow. Find more information about Telerik Extensions for ASP.NET and Telerik UI for ASP.NET MVC here.
Regards,
Georgi Krustev
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.