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

Set DatePicker Min/Max via script but renders without it

1 Answer 18 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 14 May 2014, 05:46 PM
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

Sort by
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.

 
Tags
Date/Time Pickers
Asked by
Paul
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or