Hi,
in radnumerictextbox I set: <NumberFormat KeepNotRoundedValue="True" /> and decimal digits = 2.
And now when I write: 12,1299 the controls shows 12,13.
I want that digits after 2 decimal digits will remove automatically .
How can I do that?
The KeepNotRoundedValue property specifies whether the control will keep its not rounded value (true) and show it when it is focused. Otherwise (false) the old behavior is preserved, where the actual value of the control is the rounded value. Try the following client side code for turn off the automatic rounding of and setting the decimal values.
JavaScript:
<script type="text/javascript">
function Changed()
{
var input = $find("<%= RadNumericTextBox1.ClientID %>");