This is a migrated thread and some comments may be shown as answers.

RadNumericTextbox Min Value

3 Answers 420 Views
Input
This is a migrated thread and some comments may be shown as answers.
Jidesh Guptha
Top achievements
Rank 1
Jidesh Guptha asked on 08 Nov 2010, 04:42 PM
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

3 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 09 Nov 2010, 04:32 PM
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
0
Vasssek
Top achievements
Rank 1
answered on 12 Sep 2019, 09:56 AM

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

0
Attila Antal
Telerik team
answered on 16 Sep 2019, 09:06 AM

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.
Tags
Input
Asked by
Jidesh Guptha
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Vasssek
Top achievements
Rank 1
Attila Antal
Telerik team
Share this question
or