We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Search data with Parent/Child relationship defined in GridGroupingControl

Thread ID:





105068 Sep 5,2012 03:49 PM UTC Sep 12,2012 09:00 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Asked On September 5, 2012 03:49 PM UTC


I've GridGroupingControl with multiple Parent/Child relationship and data are retrieved using independent rest service calls. So, on the parent grid, I need to display data from different result-sets and in one of the classic samples, I found a functionality to display data in same grid with primary key/foreign key relationships. I've a data table with two columns (foreignKeyId and foreignKeyText) and I've code something like this:

            GridRelationDescriptor descriptor = new GridRelationDescriptor("RelatedTable");
            descriptor.ChildTableName = "SourceDataList";
            descriptor.RelationKind = RelationKind.ForeignKeyKeyWords;
            descriptor.RelationKeys.Add("primaryKeyId", "foreignKeyId");

            this.GridGroupingControl1.Engine.SourceListSet.Add("SourceDataList", dataTable);

So, on the ASPX page, I added a column to parent grid with mappingName = "RelatedTable.foreignKeyText". This works ok and I can see data loaded appropriately.
However, when I search data on GridGroupingControl, the foreignKeyText field doesn't get populated again and it changes to empty text. 

Not sure if there are any events that has to be implemented or any properties has to be set on GridGroupingControl, so any help would be really appreciated.

Thanks in advance.

Rakesh D [Syncfusion]
Replied On September 12, 2012 09:00 AM UTC

Hi TD,


Thanks for your interest in Syncfusion products.


It seems that there is issue in searching data with parent/child relationship using foreignkeykeywords relationkind. We request you to create an incident in your direct trac account so that we could fix the issue and help you.



Please let us know if you have any concern.




Rakesh D 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon