The TextBox Control

The properties and events of the TextBox control are shown in Tables E.5 and E.6.

Table E.5. Properties of the TextBox Control
Property Description
AutoPostBack Gets or sets a value indicating whether an automatic postback to the server will occur whenever the user changes the content of the text box.
Columns Gets or sets the display width of the text box in characters.
MaxLength Gets or sets the maximum number of characters allowed in the text box.
ReadOnly Gets or sets a Boolean value denoting whether the text box is read-only.
Rows Gets or sets the display height of a multi-line text box.
Text Gets or sets the text content of the text box.
TextMode Gets or sets the behavior mode of the text box.
Wrap Gets or sets a Boolean ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.