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

Culture problem after upgrade to 2012 Q3

2 Answers 22 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 28 Nov 2012, 02:24 PM
I'm setting current culture during application startup:
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-GB");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-GB");

Then on Grid I have following column

<telerik:GridViewDataColumn DataMemberBinding="{Binding Path=StartDate}" Header="Start Date" DataFormatString="d" IsSortable="True" />

On version 2012 Q2, Grid displayed this column in en-GB format, but after update it uses en-US. All other controls (like date picker) are displaying date correctly. Only grid has problem.

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 28 Nov 2012, 02:27 PM
Hello,

 Please check this forum thread where the same problem has been already discussed.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Accepted
Dimitrina
Telerik team
answered on 26 Feb 2013, 05:33 PM
Hello,

In addition to my last answer, I would like to inform you that we have introduced a new property IsLocalizationLanguageRespected of the RadGridView. It is available with our latest Q1 2013 release. 

Its default value is 'true' meaning that the formatting will be based on the Language property (default behaviour). Once you set it to 'false", then the CurrentCulture will be respected.

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Marcin
Top achievements
Rank 1
Veteran
Answers by
Dimitrina
Telerik team
Share this question
or