Culture problem after upgrade to 2012 Q3

3 posts, 2 answers
  1. Marcin
    Marcin avatar
    186 posts
    Member since:
    Jan 2011

    Posted 28 Nov 2012 Link to this post

    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. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 28 Nov 2012 Link to this post

    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.

  3. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 26 Feb 2013 Link to this post

    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.

Back to Top