New to Kendo UI for jQueryStart a free 30-day trial

Readonly

methods

Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input.

There is a difference between disabled and readonly mode. The value of a disabled widget is not posted as part of a form whereas the value of a readonly widget is posted.

Parameters:readonlyBoolean

The argument, which defines whether the DateInput should be readonly or editable.

<input id="dateinput" />
<script>
$("#dateinput").kendoDateInput();

var dateinput = $("#dateinput").data("kendoDateInput");

dateinput.readonly();
</script>
<input id="dateinput" />
<script>
$("#dateinput").kendoDateInput();

var dateinput = $("#dateinput").data("kendoDateInput");

dateinput.readonly(false);
</script>
Not finding the help you need?
Contact Support