ASP.NET TextBox MaxLength Property
TextBox Control
Definition and Usage
The MaxLength property is used to set or return the maximum number of characters allowed in the TextBox control.
Syntax
/> The following example sets the maximum number of characters allowed in a TextBox control: Demo Example »
property
Description
num
A numeric value that specifies the maximum number of characters allowed in the text box.
Example
TextBox Control