Hi,
I need to restrict - signs in numericupdown control. I want to allow entering only positive integer. Using minvalue = 0 is not good since it resets to 0 only when control looses focus. But if control used in wizard, and user clicks "OK" he will not notice that -100 he entered actually saved as 0.
Is there any thoughts?
Right now I am not using MinValue, but instead validating on ViewModel. So if user enters -100 user will see validation error. It would be more user friendly if I could just restrict incorrect values.
Thanks, Alexey.
I need to restrict - signs in numericupdown control. I want to allow entering only positive integer. Using minvalue = 0 is not good since it resets to 0 only when control looses focus. But if control used in wizard, and user clicks "OK" he will not notice that -100 he entered actually saved as 0.
Is there any thoughts?
Right now I am not using MinValue, but instead validating on ViewModel. So if user enters -100 user will see validation error. It would be more user friendly if I could just restrict incorrect values.
Thanks, Alexey.