Easy Tutorial
❮ Prop Webcontrol Button Causesvalidation Prop Webcontrol Imagebutton Causesvalidation ❯

ASP.NET TextBox Columns Property



Definition and Usage

The Columns property is used to set or return the width of the TextBox control.

Syntax

Property Description
num A numeric value that specifies the width of the text box in characters.

Example

The following example sets the width of the TextBox control:


❮ Prop Webcontrol Button Causesvalidation Prop Webcontrol Imagebutton Causesvalidation ❯