ASP.NET MVC TextArea Overview

Telerik UI for ASP.NET MVC Ninja image

The TextArea is part of Telerik UI for ASP.NET MVC, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

The Telerik UI TextArea HtmlHelper for ASP.NET MVC is a server-side wrapper for the Kendo UI TextArea widget.

The TextArea provides a set of default API configuration options that can be set during its initialization such as value, placeholder, and so on.

Basic Configuration

The following example demonstrates the basic configuration for the TextArea.

    @(Html.Kendo().TextArea()
        .Name("textarea") // The name of the TextArea is mandatory. It specifies the "id" attribute of the TextArea.
        .Value("John Doe") // Set the value of the TextArea.
        .Rows(5) // Sets the number of rows
    )

Functionality and Features

  • Labels—You can integrate a label HTML element within the boundaries of the TextArea.
  • RTL Support—The TextArea enables you to render its content content in a right-to-left direction for right-to-left languages.
  • Events—The TextArea allows you to handle its events and implement custom functionality.

To learn more about the appearance, anatomy, and accessibility of the TextArea, visit the Progress Design System documentation—an information portal offering rich component usage guidelines, descriptions of the available style variables, and globalization support details.

Next Steps

See Also

In this article