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

Triggering CurrentRecordContextChange event on child table

Thread ID:





116175 Apr 20,2014 05:31 AM UTC Apr 23,2014 10:25 AM UTC ASP.NET Web Forms (Classic) 3
Tags: GridGroupingControl
Graeme Atkinson
Asked On April 20, 2014 05:31 AM UTC


I am trying to achieve the following:

I have a master detail grid, with GridRelationDescriptor defined. I want to trigger an event when a record in a child table is selected.

I see that there is the trigger "CurrentRecordContextChange" which I figured was the solution, implemented thus:

parentToChildRelationDescriptor.ChildTableDescriptor.CurrentRecordContextChange += new CurrentRecordContextChangeEventHandler(ChildGrid_CurrentRecordContextChange);

However, this is never triggered.

The same trigger at the master table works fine (as per various examples on the Syncfusion site)

Can anyone help with this? Is this the correct method to use? Is there an additional step needed here?

Many thanks,
Graeme Atkinson

Eswari S [Syncfusion]
Replied On April 22, 2014 09:41 AM UTC

Hi Graeme,


Thank you for using Syncfusion products.


We request you to trigger “CurrentRecordContextChange” event for Parent Grid alone. And this event will trigger for both parent and child grid when record selected in grid. Please check with the video from the following link:




Could you please try this and let us know if you have any other queries.



Eswari S

Graeme Atkinson
Replied On April 23, 2014 03:47 AM UTC

Thank you for your reply. So in this scenario how do I return details on the child record selected ? If it was the parent, I can use something like:


Kind regards,

Eswari S [Syncfusion]
Replied On April 23, 2014 10:25 AM UTC



Hi Graeme,


Thanks for your update.


For your requirement , CurrentRecord can get from CurrentRecordContextChange event using “e.Table.CurrentRecord”. Please refer to the following code snippets:


public void MasterGrid_CurrentRecordContextChange(object sender, CurrentRecordContextChangeEventArgs e)


        Record r = null;

        if (e.Action == CurrentRecordAction.EnterRecordComplete && e.Record != null)


            r = e.Table.CurrentRecord;




Please try this and let us know if you have any queries.



Eswari S


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