TextBox Server Control

The Textbox control enables the user to enter text. You have the possibility to use the textbox as a single line, multiline or password field by changing the TextMode property. The display width of textbox is determine by its columns property and the height of a textbox is determine by the Row property (only for multiline textmode). You can limit the number of signs the user can enter for a textbox with its textmode set to SingleLine or Password by entering a value for MaxLength.

A very useful event for the textbox control is OnTextChanged. When the cursor focus leaves the textbox this event is triggered. You can use this event to control the input at the very moment the user is done with editing his text.

No comments:

Post a Comment