This is a migrated thread and some comments may be shown as answers.

exception: "1,628.87 is not a valid value for Double"

1 Answer 241 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Henry
Top achievements
Rank 1
Henry asked on 08 Apr 2012, 06:02 PM
in the editform, I have a textbox that allow user input double and I have RadInputManager with NumericTextBoxSetting set to Type="Number" attached to that textbox.

now when I bring up the editform to edit existing record, the number 1628.87 is automatically format to 1,628.87, now when I click update, the method UpdateValues in method xxx_UpdateCommand throws exception:"1,628.87 is not a valid value for Double"

is this a bug? Thanks.

1 Answer, 1 is accepted

Sort by
0
Henry
Top achievements
Rank 1
answered on 08 Apr 2012, 06:07 PM
find a workaround, set DecimalSeparator="".

the drawback is that the textbox now show 1628.87, instead of 1,628.87.

anyone has better solution?
Tags
Grid
Asked by
Henry
Top achievements
Rank 1
Answers by
Henry
Top achievements
Rank 1
Share this question
or