RadNumericTextBox issue

2 posts, 0 answers
  1. rahul
    rahul avatar
    27 posts
    Member since:
    Mar 2014

    Posted 12 Mar 2014 Link to this post

    Hi ,
           i use RadNumericTextBox  for User Contact Number when i enter 12 digit no value not changed on focus out  but when i enter 14 digit number in that when focus out  that time this box contain value are change they get default value"70368744177664" what a issue? so provide help full solutions.

    <telerik:RadNumericTextBox  ID="txt_contact_no"   CssClass="form-control"  IncrementSettings-InterceptArrowKeys="false" IncrementSettings-InterceptMouseWheel="false" NumberFormat-AllowRounding="false"  width="80%" height="25px" Runat="server"   >
        <NumberFormat GroupSeparator="" AllowRounding="false" />                                                   
     </telerik:RadNumericTextBox>
    Thanks,
    Rahul
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 12 Mar 2014 in reply to rahul Link to this post

    Hi Rahul,

    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. For numbers that large you are encouraged to use RadInputManager and Regular Expressions with a TextBox. Please take a look into this online demo.

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top