how to limit user input into the multiline text box????

C

cw

Hi all,

Is anyone have an idea that limit message length input by user into
textbox. I'hv tried the maxlength property by setting it to 150, but it
seems like not working..,

regards
 
J

James J. Foster

Provided your textbox's TextMode is set to SingleLine or Password,
(MultiLine causes the control to be rendered as a textarea tag, where the
maxlength is ignored), the maxlength should limit the number of characters
allowed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
45,000
Latest member
MurrayKeync

Latest Threads

Top