New to Telerik UI for JSP? Download free 30-day trial

<kendo:textArea>

A JSP wrapper for Kendo UI TextArea.

Configuration Attributes

cols float

The visible width of the text control, in average character widths.

Example

<kendo:textArea cols="cols">
</kendo:textArea>

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:textArea enable="enable">
</kendo:textArea>

label java.lang.String

Adds a label before the textarea. If the textarea 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:textArea-label.

Example

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

maxLength float

The maximum number of characters that the user can enter.

Example

<kendo:textArea maxLength="maxLength">
</kendo:textArea>

placeholder java.lang.String

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

Example

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

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:textArea readonly="readonly">
</kendo:textArea>

resizable java.lang.String

Defines if (and how) the widget is resizable by the user.Can also be set to the following string values: "none" - default value. The user cannot resize the widget.; "both" - the user can resize both the height and width of the widget.; "horizontal" - the user can resize the width of the widget. or "vertical" - the user can resize the height of the widget..

Example

<kendo:textArea resizable="resizable">
</kendo:textArea>

rows float

The number of visible text lines for the control.

Example

<kendo:textArea rows="rows">
</kendo:textArea>

value java.lang.String

The value of the widget.

Example

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

Configuration JSP Tags

kendo:textArea-label

Adds a label before the textarea. If the textarea 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:textArea-label.

Example

<kendo:textArea>
    <kendo:textArea-label></kendo:textArea-label>
</kendo:textArea>

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:textArea change="handle_change">
</kendo:textArea>
<script>
    function handle_change(e) {
        // Code to handle the change event.
    }
</script>

Event Tags

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