RadNumericTextbox Min Value

4 posts, 0 answers
  1. Jidesh Guptha
    Jidesh Guptha avatar
    45 posts
    Member since:
    Apr 2005

    Posted 08 Nov 2010 Link to this post

    Hi,

    I have to validate the numeric text box with min and max value and display the error message. i am using a custom validator to check the condition. i am able to get the min and the max value but when the min value property is set and if i enter any value below the min value its automatically replacing the value with the minvalue. how to avoid this and display the message.

    Pls. Guide me.

    Jidesh
  2. Radoslav
    Admin
    Radoslav avatar
    1566 posts

    Posted 09 Nov 2010 Link to this post

    Hi Jidesh,

    You could try setting the RadNumericTextBox.AllowOutOfRangeAutoCorrect property to false. This property gets or sets whether the RadNumericTextBox should autocorrect out of range values to valid values or leave them visible to the user and apply its InvalidStyle.

    Best wishes,
    Radoslav
    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. Vasssek
    Vasssek avatar
    186 posts
    Member since:
    Aug 2010

    Posted 12 Sep 2019 in reply to Radoslav Link to this post

    Hi,

    I'm have also issue with this topic and also here: https://www.telerik.com/forums/radnumerictextbox-value-changing#YiEhTlA3UkGMkWeqPbAKuA

    Why this property is not set to false by default ?

    Regards

  4. Attila Antal
    Admin
    Attila Antal avatar
    451 posts

    Posted 16 Sep 2019 Link to this post

    Hi Vasssek,

    I have answered you question in the Forum thread you've shared: RadNumericTextBox Value Changing

    Regarding your question, I can say that, developers and designers have found upon some researches, that it was better to have this property set to true by default. Nevertheless, developers can set its value to "false" when they need.

    Kind regards,
    Attila Antal
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top