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

Javscript-Error while Grouping

2 Answers 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Roxane
Top achievements
Rank 1
Roxane asked on 29 May 2015, 08:43 AM

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 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 03 Jun 2015, 06:38 AM
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
0
Roxane
Top achievements
Rank 1
answered on 03 Jun 2015, 12:28 PM
Hello,
we've solved the problem, with setting the DataField.

Thanks for your help!
Tags
Grid
Asked by
Roxane
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Roxane
Top achievements
Rank 1
Share this question
or