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

Problem with filter for decimal field on culture ES

4 Answers 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Guillermo Vasconcelos
Top achievements
Rank 1
Guillermo Vasconcelos asked on 04 Sep 2009, 01:44 PM
Hi,
I am working on an application set to ES culture. The decimal separator for that culture is ",".
I have a grid with AllowFilteringByColumn="True" and a Decimal column defined as:
<telerik:GridNumericColumn DataField="TestDecimalField" HeaderStyle-Width="80px" HeaderText="Columna decimal" SortExpression="TestDecimalField" UniqueName="TestDecimalField" DataType="System.Decimal" DataFormatString="{0:###,##0.00}" FilterControlWidth="50px"></telerik:GridNumericColumn> 
The grid shows correctly, with the decimals contained in that column with the correct format (example: 0,32). When I try to filter by that column, the filter textBox does allow me to enter data in that format, and does not allow me to enter other separators, like ".". If I enter "0,32" and filter by any criteria, after the postback the filter value appears as "32" and no values are returned. (in the DataSource there are values with 0,32 but not with 32).
Do you know what could be happening? Is this a bug or am I missing something?
I am using RadControls_for_ASP.NET_AJAX_2009_2_701
Thanks,
Guillermo

4 Answers, 1 is accepted

Sort by
0
Accepted
Martin
Telerik team
answered on 08 Sep 2009, 03:50 PM
Hello Guillermo,

Please note that our dev team has already fixed the issue and the next internal build will reflect it. Therefore keep an eye on our next Latest Internal Build release. The fix will be included officially for the next major release of the suite.

Regards,
Martin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Guillermo Vasconcelos
Top achievements
Rank 1
answered on 08 Sep 2009, 06:01 PM
Ok, thanks.
Regards,
Guillermo
0
Flavien
Top achievements
Rank 1
answered on 07 Nov 2013, 05:14 PM
The link is dead, can you give us another one please?
0
Pavlina
Telerik team
answered on 12 Nov 2013, 03:09 PM
Hi Flavien,

If you download the latest version of RadControls this fix should be included in it and you should be able to take care of this problem.

Regards,
Pavlina
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Guillermo Vasconcelos
Top achievements
Rank 1
Answers by
Martin
Telerik team
Guillermo Vasconcelos
Top achievements
Rank 1
Flavien
Top achievements
Rank 1
Pavlina
Telerik team
Share this question
or