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

How to know which Grid I,m working On

Thread ID:





53608 Dec 16,2006 01:07 PM UTC Dec 18,2006 08:50 AM UTC WinForms 1
Tags: Grouping
Asked On December 16, 2006 01:07 PM UTC

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 08:50 AM UTC

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.

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