开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜