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.

Prevent clicking anywhere on EditMode

Thread ID:





74982 Jul 7,2008 09:07 AM Jul 8,2008 04:42 AM ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Asked On July 7, 2008 09:07 AM

Hi, when in EditMode, two buttons show up. These being the Accept and Cancel buttons. In order to save changed, one has to press on either the accept button or else, press anywhere else on the grid. Can the latter case be prevented? Thanks.

Rajarajeswari S [Syncfusion]
Replied On July 8, 2008 04:42 AM


Thanks for using Syncfusion products.

Can the latter case be prevented?

Yes, It can be prevented. To prevent the navigation we should cancel the “Navigation” action through “CurrentRecordContextChange” event. Please refer the below code snippet which illustrates this:

void GridGroupingControl1_CurrentRecordContextChange(object sender, Syncfusion.Grouping.CurrentRecordContextChangeEventArgs e)

if (e.Action == Syncfusion.Grouping.CurrentRecordAction.NavigateCalled)
e.Cancel = true;

Please refer the sample from the below link, which illustrates the above:


Please let me know if this helps you out.



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.