I have a RadGrid using the GridNumeric column. I want this to show decimal number with 10 decimal places. I am using a GridNumericColumnEditor to set format. If the first action I take on the page is to edit a record the numeric values will show to correct decimal place; if I edit another record, the values then get clipped to 2 decimal places for edited record and any record I open for edit. If I initially go into "Add New" the numeric text boxes will populate with a single zero. Then when I edit an existing record, the edited records numeric text boxes will show 2 decimal places and the "add new" record text boxes now show 2 decimal places.
<
telerik:GridNumericColumn
DataField
=
"Jan"
HeaderText
=
"Jan"
AllowSorting
=
"false"
AllowFiltering
=
"false"
HeaderStyle-Width
=
"90"
HeaderStyle-Wrap
=
"false"
EditFormColumnIndex
=
"1"
EmptyDataText
=
"0"
DefaultInsertValue
=
"0"
AllowRounding
=
"false"
KeepNotRoundedValue
=
"false"
ColumnEditorID
=
"GridNumericColumnEditor1"
UniqueName
=
"Jan"
/>
<
telerik:GridNumericColumnEditor
ID
=
"GridNumericColumnEditor1"
runat
=
"server"
NumericTextBox-Width
=
"125px"
NumericTextBox-NumberFormat-DecimalDigits
=
"10"
NumericTextBox-NumberFormat-AllowRounding
=
"false"
/>