enable disable kendo datepicker in MVC

By | November 17, 2017

Suppose you have a kendo Datepicker on UI and you want to disable / enable it on some click events then just use

below syntax to enable disable kendo datepicker in MVC.

For Enabling use below syntax,

$('#date1').data('kendoDatePicker').enable(true);

For disabling kendo DatePicker control use below syntax,

$('#date1').data('kendoDatePicker').enable(true);

Here $(‘#date1’) is the control name of datepicker, you can use your control name.

Leave a Reply

Your email address will not be published. Required fields are marked *