System.Web.UI.HtmlControls (system.web.dll)class

This class represents the HTML <textarea> tag, which allows the user to enter multiple lines of text. Text entered in this control is provided in the Value property. You can specify the size of the text box by using the Rows property and the Cols property (the character width). Both default to -1 to indicate that a standard size will be used. You can also react to the ServerChange event, which will fire only after a postback is triggered (for example, when a user clicks a submit button).

public class HtmlTextArea : HtmlContainerControl, System.Web.UI.IPostBackDataHandler {
// Public Constructors
   public HtmlTextArea( );
// Public Instance Properties
   public int Cols{set; get; }
   public virtual string Name{set; get; }
   public int Rows{set; get; }
   public string Value{set; get; }
// Protected Instance Methods
   protected override void AddParsedSubObject(object obj);      // overrides System.Web.UI.Control
   protected override void OnPreRender(EventArgs e);            // overrides System.Web.UI.Control
   protected virtual void OnServerChange(EventArgs e);
   protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer); // overrides HtmlContainerControl
// Events
   public event EventHandler ServerChange;


System.Object System.Web.UI.Control(System.ComponentModel.IComponent, System.IDisposable, System.Web.UI.IParserAccessor, System.Web.UI.IDataBindingsAccessor) HtmlControl(System.Web.UI.IAttributeAccessor) HtmlContainerControl HtmlTextArea(System.Web.UI.IPostBackDataHandler)

    Part I: Introduction to ASP.NET
    Part III: Namespace Reference
    Chapter 40. The System.Web.UI.MobileControls Namespace
    Chapter 42. The System.Web.UI.WebControls Namespace