NumericUpdown: make user unable to enter value bigger then 99
hi all,
I have a NumericUpDown control. The minimum value is 1 and the maximum value is 99. I want to prevent the user from entering a value bigger then 100. Currently if you enter 100, after validating the control return to the maximum value. I want to prevent the user from entering 100. The use may enter 98, 99, ... Anyone have an idea on how to do that? What event to use ? I've already searched the net and didn't find anything.
Or anyone have any idea to make the user only capable of entering two digits?
Thank you very much
Michael