Gets or sets the display width of the text box in characters.
Assembly: System.Web (in System.Web.dll)
The following code example demonstrates how to use the TextBox control.property to specify a width of 2 characters for the
This example has a text box that accepts user input, which is a potential security threat. By default, ASP.NET Web pages validate that user input does not include script or HTML elements. For more information, see Script Exploits Overview.
Available since 1.1