RadNumericTextBox - maxlength for decimal and non-decimal digits

4 posts, 0 answers
  1. wnl
    wnl avatar
    106 posts
    Member since:
    Aug 2007

    Posted 30 Oct 2009 Link to this post

    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?
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 03 Nov 2009 Link to this post

    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.
  3. Rahul
    Rahul avatar
    50 posts
    Member since:
    Jun 2008

    Posted 20 Jul 2011 Link to this post

    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.
  4. Martin
    Admin
    Martin avatar
    833 posts

    Posted 26 Jul 2011 Link to this post

    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!

Back to Top