Hello,
I'm using the RadGridView and am very pleased with it, but I'm facing a small issue I can't resolve myself :
My application is running with the French culture, which decimal separator is the comma (,).
I want my users to be able to enter decimal values with either a dot (.) or comma (,) as the decimal separator so the experience is easier for them, but I don't know how to achieve that.
What I first tried was to handle the CellValidating event of the RadGridView, manually validate the event even if a number has a dot as a decimal separator (by setting both properties e.Handled and e.IsValid to true), but I guess some upper-level internal validation occurs and my cell appears as not valid with the error message "Input was not in a correct format", which is, if I recall well, an .NET framework "Parse" exception message, which I guess you call to determine if the value is correct.
Do you know a way to allow both dot and comma as a decimal separator ?
Thanks for your interest in my question.
Regards,
Mickaël Derriey
I'm using the RadGridView and am very pleased with it, but I'm facing a small issue I can't resolve myself :
My application is running with the French culture, which decimal separator is the comma (,).
I want my users to be able to enter decimal values with either a dot (.) or comma (,) as the decimal separator so the experience is easier for them, but I don't know how to achieve that.
What I first tried was to handle the CellValidating event of the RadGridView, manually validate the event even if a number has a dot as a decimal separator (by setting both properties e.Handled and e.IsValid to true), but I guess some upper-level internal validation occurs and my cell appears as not valid with the error message "Input was not in a correct format", which is, if I recall well, an .NET framework "Parse" exception message, which I guess you call to determine if the value is correct.
Do you know a way to allow both dot and comma as a decimal separator ?
Thanks for your interest in my question.
Regards,
Mickaël Derriey