enable

Enables or disables the widget.

Parameters

enable Boolean

If set to true, the widget will be enabled. If set to false, the widget will be disabled.

Example - enable the widget

<input id="textbox" />
<script>
    $("#textbox").kendoTextBox({
        enable: false
    });
    var textbox = $("#textbox").data("kendoTextBox");
    textbox.enable(true);
</script>

Example - disable the widget

<input id="textbox" />
<script>
    $("#textbox").kendoTextBox();
    var textbox = $("#textbox").data("kendoTextBox");
    textbox.enable(false);
</script>
In this article