NumericTextBox Behavior counter to documentation on rounding and decimal places

2 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 04 Apr 2013 Link to this post


    I have spent hours trying to get RadNumericTextBox to accept something as simple as 1.25. It rounds, or displays an alert. I have reviewed multiple forum posts and the documentation and something this simple seems to be pretty elusive. here is the markup (this is in a RadGrid ItemTemplate that displays in Edit mode). I have tried multiple combinations of the various parameters shown here with no good result. I am only showing the EditItemTemplate for brevity. Any help appreciated. 


                                             <telerik:RadNumericTextBox ID="rtbCMEHours" MaxLength="5" runat="server" Type="Number" MinValue="0.00" MaxValue="100.00" AllowOutOfRangeAutoCorrect="true" ToolTip="Enter the Hours Claimed here." Text='<%#Eval("HoursClaimed") %>' >

                                            <numberformat allowrounding="False" keepnotroundedvalue="False" DecimalDigits="2" ></numberformat>



  2. Angel Petrov
    Angel Petrov avatar
    1039 posts

    Posted 09 Apr 2013 Link to this post

    Hi Karl,

    I tried to reproduce the described behavior in a sample project but was unable to do so. Could you please review my sample and tell us what differs in your case? If you could modify it to reproduce the problem we would be able to give you a precise answer why it is occurring.

    All the best,
    Angel Petrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top