Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > radnumeric textbox's value get rounded.

Answered radnumeric textbox's value get rounded.

Feed from this thread
  • Posted on May 16, 2012 (permalink)

    Hi,
    I have declared a numeric text box as below
    <telerik:RadNumericTextBox ID="RadNumericTextBox1" MaxValue="99999999999999999" runat="server"
            DataType="integer" Type="Number" NumberFormat-AllowRounding="false" NumberFormat-KeepNotRoundedValue="true"
            NumberFormat-GroupSeparator="" NumberFormat-DecimalDigits="0">
    </telerik:RadNumericTextBox>

    when entering a value having length 16 or above, when there is a postback, the value get rounded and displaying the rounded value.
    How can i avoid this issue?

    thanks in advance
    Jiju

    Reply

  • Answer Princy MVP avatar

    Posted on May 16, 2012 (permalink)

    Hi Jiju,

    According to this forum thread RadNumericTextBox does not support numbers that large, and this limitation comes from the javascript numeric parsing. Javascript itself does not support calculations with numbers that large and RadNumericTextBox uses these calculations for parsing, storing and retrieving the entered value.

    Hope this information help.

    Regards,
    Princy.

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.
  • Posted on May 16, 2012 (permalink)

    hello Princy,
    Thank you very much for your reply. it solved my problem.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Input > radnumeric textbox's value get rounded.
Related resources for "radnumeric textbox's value get rounded."

ASP.NET Input Features  |  Documentation  |  Demos  | Step-by-step Tutorial  ]