
HtmlTextArea | 731
HtmlControls
Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Returned By
HtmlTable.Rows
HtmlTextArea
System.Web.UI.HtmlControls (system.web.dll)
disposable
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).
Hierarchy
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 ➝ HtmlTex-
tArea(System.Web.UI.IPostBackDataHandler)
public void Remove(HtmlTableRow row);
public void RemoveAt(int index);
}
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 ...