This question is locked. New answers and comments are not allowed.
The Numeric box automatically changes any value entered manually that is above the maxvalue to that maxvalue. Same goes for any value entered below the minvalue.
Example: I have a numeric box with a maxvalue set to 1500. User enters 1501 via the keyboard and moves on to another field, the value is automatically changed to 1500.
I find this a poor way of implementing the min/max values by just auto changing the number since the user will likely not notice this change. Is there someway this can be dealt with better? Perhaps throwing events like MaxValueExceed and MinValueExceeded and passing the actual value the user created, so that we can hook them up and do something more appropriate?
Even checking the ValueChanged event we cannot get the actual value the user entered, its already been changed to the min or max value.
Let me know if you have any suggestions, a workaround or can make changes to accommodate.
Thanks
Simon
Example: I have a numeric box with a maxvalue set to 1500. User enters 1501 via the keyboard and moves on to another field, the value is automatically changed to 1500.
I find this a poor way of implementing the min/max values by just auto changing the number since the user will likely not notice this change. Is there someway this can be dealt with better? Perhaps throwing events like MaxValueExceed and MinValueExceeded and passing the actual value the user created, so that we can hook them up and do something more appropriate?
Even checking the ValueChanged event we cannot get the actual value the user entered, its already been changed to the min or max value.
Let me know if you have any suggestions, a workaround or can make changes to accommodate.
Thanks
Simon