Set DatePicker Min/Max via script but renders without it

2 posts, 0 answers
  1. Paul
    Paul avatar
    15 posts
    Member since:
    Jan 2013

    Posted 14 May 2014 Link to this post

    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?

  2. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 15 May 2014 Link to this post

    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.

    Georgi Krustev

    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.

Back to Top