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

Maintain GridGroupingControl.Table.CurrentRecord on Postback

Thread ID:





73635 May 13,2008 03:06 PM UTC May 20,2008 01:55 PM UTC ASP.NET Web Forms (Classic) 4
Tags: GridGroupingControl
Asked On May 13, 2008 03:06 PM UTC

Hi, I placed a button on the same page of a GridGroupingControl. Is there a way to preserve the GridGroupingControl.Table.CurrentRecord, on postback of this button, and after postback set the Current Record as Editable? Thanks.

Janagan [Syncfusion]
Replied On May 14, 2008 01:42 PM UTC

Hi MB,

Thanks for your interest in Syncfusion products.

Yes. You can have a button to edit and on postback of the button, you can retrieve the current record values as editable by the following code:

protected void Button1_Click(object sender, EventArgs e)
this.GridGroupingControl1.TableDescriptor.EditFormSettings.FormEditMode = TableEditMode.Normal;
this.GridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true;
Syncfusion.Grouping.Record record = GridGroupingControl1.Table.CurrentRecord;
if (record != null)


Please refer the sample in the link below which illustrates the above:


Please try running the sample and let me know if this helps.


Replied On May 16, 2008 06:29 PM UTC

Thank you for your reply. After editing the row, and saving is there a way to keep the just edited record as selected? What is happening on my side, is that the selected row after the update, becomes always the one on top.

Janagan [Syncfusion]
Replied On May 19, 2008 02:06 PM UTC

Hi MB,

Thanks for the update.

I am afraid that I am not able to reproduce the issue. Also, I have created a sample to test this issue and please refer the sample in the link below:


Please try running the sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could analyse further and sort out the caues to provide you a better solution?


Replied On May 20, 2008 01:55 PM UTC

Hi, the sample was helpful to solve the issue. Thanks.


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