This question is locked. New answers and comments are not allowed.
In our application, we force the decimal culture to "."
However we have a problem with the radgridview, it doesn't seem to take that into account, and seems to take the language culture instead.
Our application can be in french or english.
When I'm in french and I wanna enter a number into the grid, it accepts 0,01 and shows me : 0.01 if I try to enter 0.01 it says it's not in the correct format.
If I'm in english, and i enter 0.01, it shows 0.01 if I try 0,01 it will put 1
So even if i do this,
However we have a problem with the radgridview, it doesn't seem to take that into account, and seems to take the language culture instead.
Our application can be in french or english.
When I'm in french and I wanna enter a number into the grid, it accepts 0,01 and shows me : 0.01 if I try to enter 0.01 it says it's not in the correct format.
If I'm in english, and i enter 0.01, it shows 0.01 if I try 0,01 it will put 1
So even if i do this,
Thread
.CurrentThread.CurrentCulture.NumberFormat.NumberDecimalSeparator = ".";
it doesn't seem to affect when I'm editing a radgridview but it seems to work when I write something in a TextBox.
So any way to force radgridview to use . for number or any other culture change we want separate from the language?
Thanks
Dom