ASP.NET MVC Interface Controls - Textbox -
MaxLength property


MaxLength="10"


MaxLength="5"



Use the MaxLength property to specify the maximum number of characters that can be typed into the textbox.
C#
Html.Obout(new OboutTextBox("txt1") { MaxLength = 10 })

"Your fast turn around and helpful attitude have made me VERY VERY HAPPY. This is SO RARE to find especially with something as complicated as a control suite and one so reasonably priced at that."

Cary Abramoff

Random testimonial   All testimonials