<kendo:textBox>

A JSP wrapper for Kendo UI TextBox.

Configuration Attributes

enable boolean

If set to false, the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input.

Example

<kendo:textBox enable="enable">
</kendo:textBox>

label java.lang.String

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label. Further configuration is available via kendo:textBox-label.

Example

<kendo:textBox label="label">
</kendo:textBox>

placeholder java.lang.String

The hint displayed by the widget when it is empty. Not set by default.

Example

<kendo:textBox placeholder="placeholder">
</kendo:textBox>

readonly boolean

If set to true, the widget will be readonly and will not allow user input. The widget is not readonly by default and allows user input.

Example

<kendo:textBox readonly="readonly">
</kendo:textBox>

value java.lang.String

The value of the widget.

Example

<kendo:textBox value="value">
</kendo:textBox>

Configuration JSP Tags

kendo:textBox-label

Adds a label before the input. If the input has no id attribute, a generated id will be assigned. The string and the function parameters are setting the inner HTML of the label.

More documentation is available at kendo:textBox-label.

Example

<kendo:textBox>
    <kendo:textBox-label></kendo:textBox-label>
</kendo:textBox>

Event Attributes

change String

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:textBox change="handle_change">
</kendo:textBox>
<script>
    function handle_change(e) {
        // Code to handle the change event.
    }
</script>

Event Tags

kendo:textBox-change

Fired when the value of the widget is changed by the user.The event handler function context (available via the this keyword) will be set to the widget instance.

For additional information check the change event documentation.

Example

<kendo:textBox>
    <kendo:textBox-change>
        <script>
            function(e) {
                // Code to handle the change event.
            }
        </script>
    </kendo:textBox-change>
</kendo:textBox>
In this article
Not finding the help you need?