Aggregate row respects system local, default grid view row not

4 posts, 0 answers
  1. Tobias
    Tobias avatar
    28 posts
    Member since:
    Jun 2013

    Posted 21 Aug 2013 Link to this post

    Hi,
    I have the following problem: My aggregate rows respect the current system local (which is set correctly). My default gridview rows don't do that.

    I work with the following annotation:
    [DisplayFormat(DataFormatString = DataFormat.Number)]
    [Aggregate(Type = AggregateFunction.Summary, Format = DataFormat.Number)]


    Example (the grid has a English local):

     Tax
    1,16$
    2,00$
    --------
    3.16$

    Do you have any idea why this happens?

    Thanks a lot!

    Regards,

    - Tobias
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 21 Aug 2013 Link to this post

    Hello Tobias,

    Please check out this article for a reference. 

    Regards,
    Maya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
  4. Tobias
    Tobias avatar
    28 posts
    Member since:
    Jun 2013

    Posted 21 Aug 2013 Link to this post

    Hi,
    thanks for your quick anser! Your link was my first step to solve my problem.

    But maybe you can help me, if you can clearlify why the aggregates (and aöll other controls) have the correct local but not the default grid item view.

    If I debug my settings and UICulture, it has the correct value!

    Thanks!

    - Tobias
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 22 Aug 2013 Link to this post

    Hi Tobias,

    We used to have requests from our customers to make RadGridView behave as DataGrid - to respect Language property. However, in order to support CurrentCulture as well, we introduced a property - IsLocalizationLanguageRespected so that each customer can decide which one he/ she prefers.  

    Regards,
    Maya
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top