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

RadNumericTextBox - maxlength for decimal and non-decimal digits

3 Answers 174 Views
Input
This is a migrated thread and some comments may be shown as answers.
wnl
Top achievements
Rank 1
wnl asked on 30 Oct 2009, 12:16 PM
Hi,
I'm using RadNumericTextBox. In a database I have a column e.g.: Preis decimal(12,2) - oracle.
How can I set in RadNumeric maxlength of digits to 12 for non-decimal digits and 2 for decimal digits?
And another question: when I set maxvalue, when user inputs more digits, the value is automatically sets to maxvalue without any question or warning. Why?

3 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 03 Nov 2009, 09:52 AM
Hello Jaromin,

The questions set forth has been addressed in the support ticket, which you have opened on the matter. To avoid duplicate posts, we can continue our communication there.

Kind regards,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Rahul
Top achievements
Rank 1
answered on 20 Jul 2011, 05:21 PM
Hi,

I have been facing this problem with RadNumericTextBox. I have set the maxvalue to 999,999,999,999.99999, but whenever i enter this value it is rounded off to 1000000000000 by itself even though i have set the Rounding-Off property false. However when i set the maxvalue to 999,999,999,999.99 everything works fine. Is there a way around this, i just don't want the value to be rounded-off. It would be great if you people can help me out with this problem.
0
Martin
Telerik team
answered on 26 Jul 2011, 08:18 AM
Hello Rahul,

Due to incorrect Javascript behavior when operations with numbers having more than 16 characters are performed, RadNumericTextBox has a client side limitation of up to 16 characters.

I hope this helps.

Greetings,
Martin
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Input
Asked by
wnl
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Rahul
Top achievements
Rank 1
Martin
Telerik team
Share this question
or