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

LinqDataSource + Different CultureInfo

1 Answer 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fernando Mondego
Top achievements
Rank 1
Fernando Mondego asked on 17 Sep 2010, 06:28 PM
I'm using a RadGrid with a LinqDataSource, there is a money DataBase column, in the Grid, it is a GridNumericColumn, with NumericType="Currency".

When I try to filter values with commas, the commas (decimal separator) are simply ignored, and after the post, the value appears in the filter as the comma didnt existed.

I've implemented the ItemCommand event, and got the RadNumericTextBox, it's Value, and Text is shown already wrong, so I tried to divide it by 100, to correct the value, in this case, nothing is done, and the filter stop working.

My Culture-Info is pt-BR. I have changed it to en-US, and it works ok (for dots, as decimal separators), also my workaround in the ItemCommand works for en culture...

Is it a known issue? What can I do to get around this behavior?

Thanks in advance, and congratulations for the great work!

Fernando Mondego

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 23 Sep 2010, 11:16 AM
Hello Fernando,

Unfortunately I'm unable to reproduce this problem. Please download the test project that is attached to this post and let me know whether it works as expected at your side.

Regards,
Daniel
the Telerik team
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
Tags
Grid
Asked by
Fernando Mondego
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or