Hey Telerik Community,
I have a problem with how the RadNumericTextBox does its range validation. It does too much, and I am afraid that my users will end up with bad data values.
The Scenario:
When you assign a value to MaxValue, and the user exceeds that maximum value, the textbox auto-corrects the value to the max.
Ex: I set the max value to 9999.9 and allow the user to type in 6 digits using the MaxLength attribute.
The Problem:
The user accidentally types in 123456 and on blur the textbox validates and when validation fails the RadNumericTextBox auto-corrects the value to 9999.9. NOT GOOD for my customer. The values we are saving could put actual lives in harms way if they are not correct.
The Solution:
We would prefer that it simply fail validation, display its fail message, and not allow the user to save the record.
How can this be accomplished?
Thanks!
I have a problem with how the RadNumericTextBox does its range validation. It does too much, and I am afraid that my users will end up with bad data values.
The Scenario:
When you assign a value to MaxValue, and the user exceeds that maximum value, the textbox auto-corrects the value to the max.
Ex: I set the max value to 9999.9 and allow the user to type in 6 digits using the MaxLength attribute.
The Problem:
The user accidentally types in 123456 and on blur the textbox validates and when validation fails the RadNumericTextBox auto-corrects the value to 9999.9. NOT GOOD for my customer. The values we are saving could put actual lives in harms way if they are not correct.
The Solution:
We would prefer that it simply fail validation, display its fail message, and not allow the user to save the record.
How can this be accomplished?
Thanks!