check max characters in textbox
I have textboxes where i only want signed a max number of characters in. an then I'll hear how i could check it easily in开发者_C百科 c#
Just set the MaxLength
property of the textbox.
You can set the MaxLength Property
of the textbox as you want.
E.g: if you want MaxLength as 10. give MaxLength - 10
TextBox.MaxLength maybe?
Alternatively you could add a jQuery plugin
精彩评论