RadNumericTextBox auto-correct

4 posts, 1 answers
  1. johnv
    johnv avatar
    36 posts
    Member since:
    Apr 2008

    Posted 02 Sep 2010 Link to this post

    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!

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8331 posts

    Posted 02 Sep 2010 Link to this post

    Hello John,

    Please set AllowOutOfRangeAutoCorrect="false".

    Regards,
    Dimo
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. johnv
    johnv avatar
    36 posts
    Member since:
    Apr 2008

    Posted 02 Sep 2010 Link to this post

    Wow, that's pretty bad. Sorry about that.
  5. Snehal
    Snehal avatar
    3 posts
    Member since:
    Jul 2010

    Posted 25 Sep 2013 Link to this post

    we are using "2008.02.1001.20" version on Telerik. here we do not have this property. how can i handle this .

    i will not be able update to new version as this is in production.

    Thanks,
Back to Top