I'm using RadinputManager in Radgrid.
During grid postback, trailing decimal zero are removed and reappear after.
Is there a way to keep them ?
thanks.
1 Answer, 1 is accepted
0
Accepted
Dimo
Telerik team
answered on 10 Nov 2010, 02:31 PM
Hi OPL,
By design RadInputManager changes the formatted numeric values to unformatted numeric values on the fly during postbacks and AJAX requests. The following demo shows how to override this behavior, but keep in mind that this may cause undesired side effects and we do not claim it will work well in all scenarios. For example, the decimal separator in the textbox (i.e. the one defined in the NumericTextBoxsetting) must match the server-side decimal separator of the setting's culture, otherwise the values will not be persisted correctly across postbacks.
The Javascript code must be included in a <script> tag or registered in an external JS file in the <body>, so that it overrides the control's embedded scripts.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items