I need to always display 4 decimal places in my numeric textbox. I've set DecimalDigits = 4 and set Keep Trailing Zeros to True, but when control loses focus, the trailing zeros disappear. What do I need to set to always show 4 decimal places (with trailing zeros if needed)?
Here is my code:
Here is my code:
<
telerik:RadNumericTextBox
runat
=
"server"
ID
=
"Longitude"
Width
=
"75"
EmptyMessage
=
"Lon"
Skin
=
"Vista"
AllowOutOfRangeAutoCorrect
=
"False"
MaxValue
=
"0"
DataType
=
"System.Decimal"
EnableSingleInputRendering
=
"True"
>
<
NumberFormat
AllowRounding
=
"False"
DecimalDigits
=
"4"
KeepNotRoundedValue
=
"True"
KeepTrailingZerosOnFocus
=
"True"
/>
</
telerik:RadNumericTextBox
>