From http://www.w3schools.com (Copyright Refsnes Data)
Complete TextBox Control Reference
The MaxLength property is used to set or return the maximum number of characters allowed in a TextBox control.
| <asp:TextBox MaxLength="num" runat="server" /> |
| Attribute | Description |
|---|---|
| num | A number specifying the maximum number of characters allowed in the text box |
ExampleThe following example sets the max number of characters allowed in a TextBox control:
Show example » |
Complete TextBox Control Reference
From http://www.w3schools.com (Copyright Refsnes Data)