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

Numeric Textbox changing value by itself

2 Answers 59 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Stacy
Top achievements
Rank 1
Stacy asked on 15 Nov 2017, 12:40 PM
I have a numeric textbox.  If I was to enter 123456789112345.67 in it, the control changes the value to 703687441776.64.  This behavior can be seen in your online demo as well (https://demos.telerik.com/aspnet-ajax/numerictextbox/overview/defaultcs.aspx).  Why does that happen?

2 Answers, 1 is accepted

Sort by
0
Stacy
Top achievements
Rank 1
answered on 15 Nov 2017, 02:07 PM

Ok so it's a max issue on the textbox. 

I'm trying to cancel this and show a message to the user by using the OnValueChanged event but it doesn't fire the first time.  Why is that happening?

0
Stacy
Top achievements
Rank 1
answered on 15 Nov 2017, 02:15 PM

If I load a textbox with a value from the database, click in the textbox and add digits, the event doesn't fire. 

 

It will only fire if I delete the previous value and enter a new one.  That doesn't seem correct.

Tags
NumericTextBox
Asked by
Stacy
Top achievements
Rank 1
Answers by
Stacy
Top achievements
Rank 1
Share this question
or