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. Image for the cookie policy date

parent gdbg record count

Hello,

This is likely a simple question, but I am stuck at the moment.

I have two GridDataBoundGrids, each with the same dataset as its datasource.

The dataset has two tables in it, MyParentTable and MyChildTable.

There is a FK relation between these tables called FK_ParentChild.

The datamembers on the GridDataBoundGrids 1 and 2 are MyParentTable and MyParentTable.FK_ParentChild, respectively.

Therefore, row selections in GDBG1 filter the rows shown in GDBG2.

My question is, from a GDBG2 event, such as Enter, how do I retrieve the number of rows shown in GDBG1? The trick is my form is created dynamically from metadata stored in a database, so I don't know beforehand how the grids are linked.

Thanks,
Keith

2 Replies

KA Keith Aubin January 12, 2010 05:35 AM UTC

This is in the wrong forum. Sorry.


BM Bharath M Syncfusion Team January 12, 2010 01:53 PM UTC

Hi Keith,

Thank you for your update.

Regards,
Bharath .M

Loader.
Live Chat Icon For mobile
Up arrow icon