Tags

One day when I enter a huge number in RadNumbericTextBox, once tab away, it converted to “70368744177664”. After search around I found

MaxValue Property – Gets or sets the largest possible value of a RadNumericTextBox.  The default value is positive 70368744177664.

MinValue Property – Gets or sets the smallest possible value of a RadNumericTextBox.   The default value is negative -70368744177664.

So if you want enter any value larger or less than default,you need to set maxValue or MinValue

like:

            <telerik:RadNumericTextBox  
                ID="RadNumericTextBox1"  
                runat="server"  
                MaxValue="0.9999"  
                MinValue="-0.9999"> 
            </telerik:RadNumericTextBox> 
Advertisements