Javscript-Error while Grouping

3 posts, 0 answers
  1. Roxane
    Roxane avatar
    11 posts
    Member since:
    Nov 2011

    Posted 29 May 2015 Link to this post

    Hello,

    we have a mix from auto generated columns and custom columns.

    GridBoundColumn boundColumn = new GridBoundColumn();                       
    grid.MasterTableView.Columns.Add(boundColumn);
    boundColumn.HeaderText = page.GetMessage(name);
    boundColumn.UniqueName = name;
    boundColumn.SortExpression = name;
    boundColumn.Display = false;
     

    When we try to Group any column in the Grid, we get the following Javascript-Exception:

    Sys.WebForms.PageRequestManagerServerErrorException: An item with the same key has already been added

     

    What are we doing wrong?

    Thank you in advance!
    Roxane

     

     

     

     

  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    2391 posts

    Posted 03 Jun 2015 Link to this post

    Hello Roxane,

    I have replied to your query in the support ticket that you have submitted. I suggest we continue the conversation there.

    When the issue is resolved, please feel free to share the resolution in the forum thread. This can help anyone that is observing similar behavior.

    Regards,
    Viktor Tachev
    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
  3. Roxane
    Roxane avatar
    11 posts
    Member since:
    Nov 2011

    Posted 03 Jun 2015 Link to this post

    Hello,
    we've solved the problem, with setting the DataField.

    Thanks for your help!
Back to Top