Filter does not respect current culture settings/formats

2 posts, 0 answers
  1. Matthias Bibo
    Matthias Bibo avatar
    71 posts
    Member since:
    Mar 2010

    Posted 08 Dec 2015 Link to this post


    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.


  2. Maya
    Maya avatar
    4062 posts

    Posted 11 Dec 2015 Link to this post

    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.

    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
  3. DevCraft banner
Back to Top