System.Web.UI.HtmlControls.HtmlTextArea.Cols Property

Gets or sets the width (in characters) of the System.Web.UI.HtmlControls.HtmlTextArea control.

Syntax

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.DefaultValue("")]
public int Cols { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the HtmlTextArea.Cols property to specify or determine the width (in characters) of the System.Web.UI.HtmlControls.HtmlTextArea control. If you enter text that is longer than the width of the text box, the text automatically continues on the next line of the control.

To control the height of the control, set the HtmlTextArea.Rows property.

Requirements

Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0