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.

How to know which Grid I,m working On

Thread ID:





53608 Dec 16,2006 08:07 AM Dec 18,2006 03:50 AM Windows Forms 1
Tags: Grouping
Asked On December 16, 2006 08:07 AM

Hi every , I have tables A & B , A is Parent to B , i want to get the current record of of parent table when i click a record of parent table , dont know how to check which grid i,m working on when click on any record in either table A or B, Thanks.


Administrator [Syncfusion]
Replied On December 18, 2006 03:50 AM

Hi Mgs4solidsnake,

This can be achieved by handling the TableControlCellClick event and check for the table name by using e.TableControl.TableDescriptor.Name property. Please try the following code snippet and let us know if you need any further assistance.

//this.gridGroupingControl1.TableControlCellClick +=new GridTableControlCellClickEventHandler(gridGroupingControl1_TableControlCellClick);
private void gridGroupingControl1_TableControlCellClick(object sender, GridTableControlCellClickEventArgs e)
if(e.TableControl.TableDescriptor.Name == "B")

Have a nice day.

Best regards,


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.