Name
HtmlTextArea
Synopsis
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 : Inherits HtmlContainerControl : Implements_ System.Web.UI.IPostBackDataHandler ' Public Constructors Public Sub New() ' Public Instance Properties Public Property Cols As Integer Overridable Public Property Name As String Public Property Rows As Integer Public Property Value As String ' Protected Instance Methods Overrides Protected Sub AddParsedSubObject( ByVal obj As Object) Overrides Protected Sub OnPreRender(ByVal e As EventArgs) Overridable Protected Sub OnServerChange( ByVal e As EventArgs) Overrides Protected Sub RenderAttributes( ByVal writer As System.Web.UI.HtmlTextWriter) ' Events Public Event ServerChange As EventHandler End Class
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→ HtmlTextArea(System.Web.UI.IPostBackDataHandler)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access