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

RadGrid Grouping based on lookup field

2 Answers 68 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Suganya
Top achievements
Rank 1
Suganya asked on 21 Feb 2012, 03:45 PM
I have the sharepoint list items as the datasource to the grid and I am using linq for the same. Now that I need to group the grid data based on a field value which is a lookup field value in that list. Every time I do that, it says, Field LookUPList.FieldValue not found in the source table. Please check the expression syntax.

Can you please guide me through this? Thank you.

2 Answers, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 24 Feb 2012, 12:38 PM
Hello,

 You can only group by fields that are in the original datasource of the grid. In order to perform the grouping correctly you should pass to the groups settings a field from the grid's datasource that corresponds to the one shown in the lookup field.

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Suganya
Top achievements
Rank 1
answered on 24 Feb 2012, 03:07 PM
Thanks for the reply. I did a workaround to depict a grouping view in my grid.
Tags
Sharepoint Integration
Asked by
Suganya
Top achievements
Rank 1
Answers by
Marin
Telerik team
Suganya
Top achievements
Rank 1
Share this question
or