System.Web.UI.HtmlControls Namespace
Allows programmatic access to the HTML <textarea> element on the server.
The HtmlTextArea control defines a scrollable multiline text input control wherein users can enter one or more lines of text.
<textarea> takes several properties, the more important of which are Name, Rows, and Cols.
As with other form controls, the Name attribute assigns the control a name.
The Rows property specifies the display height in number of visible lines, while the Cols property specifies the display width in number of visible characters.
To determine or specify the content of the <textarea>, use the Value property. Browsers render the content of the element if initially present, as shown.
<textarea> defaults to a fixed-pitch font, though CSS font styles may be applied with the Style attribute.
The HtmlTextArea class provides a ServerChange event that is raised when the Value of the text box changes between posts to the server. This allows you to define a custom handler to perform some action each time the event is raised.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlTextArea in ASP.NET Syntax for HTML Controls.
HtmlInputText