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.
Unfortunately, activation email could not send to your email. Please try again.

Search data with Parent/Child relationship defined in GridGroupingControl

Thread ID:

Created:

Updated:

Platform:

Replies:

105068 Sep 5,2012 11:49 AM Sep 12,2012 05:00 AM ASP.NET Web Forms (Classic) 1
loading
Tags: GridGroupingControl
TD
Asked On September 5, 2012 11:49 AM

Hi,

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.TableDescriptor.Relations.Add(descriptor);
            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 05:00 AM

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.

 

 

Regards,

Rakesh D 


CONFIRMATION

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.

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.

;