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

Filter does not respect current culture settings/formats

1 Answer 8 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Matthias Bibo
Top achievements
Rank 1
Matthias Bibo asked on 08 Dec 2015, 03:02 PM

Hello,

in all our radgridviews the filter shows wrong formatted datetime values.

The column shows the correct values in german format (de-DE), the bound values is a real datetime value, not a string value.

The filter an the sorting works, but the list of available values in the filter dialog has the wrong format/culture settings (seems to be english or american).

In the RadgrivView we set the correct language:

      this.Language = XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentCulture.Name);

We also set the XamlUiCulture of our application to:

   CultureInfo culture = new CultureInfo("de");
    Thread.CurrentThread.CurrentCulture = culture;
    Thread.CurrentThread.CurrentUICulture = culture;


Is this a bug, or do we have to set some other options in the filter? We use Telerik for years but did not encouter this behaviour before.

Thanks for your help.

 

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 11 Dec 2015, 07:53 AM
Hello Matthias,

I recently resolved such issue and the fix is available in the internal builds. Please give the latest one a try and let me know how it goes.

Regards,
Maya
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
GridView
Asked by
Matthias Bibo
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or