You must use the method setOptions()to change this:
var datepicker = $("#datepicker").data("kendoDatePicker");
datepicker.setOptions({
max: new Date(today.setDate(today.getDate()+30))
});
Or, if you want, just do this on initialization:
$("#datepicker").kendoDatePicker({
max: new Date(today.setDate(today.getDate()+30))
});
source
share