text field max. charecter number

  • Thread starter Thread starter Cor
  • Start date Start date
C

Cor

Hi QT,

In winforms controls
mycontrol.maxlenght=2

In webforms you have to check it yourself and give a message when it is to
long.

I hope this helps

Cor
 
* "QT said:
I try to put limit for text field to stop charecter entery after 2
charecter. But I have no success.

Set the textbox's 'MaxLength' property.
 
Dear sirs,

I try to put limit for text field to stop charecter entery after 2
charecter. But I have no success.

Any idea how can I do?

Best Regards
 
Back
Top