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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

opposite of RowSaved?

Thread ID:





2742 Feb 12,2003 01:26 PM UTC Feb 12,2003 04:27 PM UTC WinForms 1
Tags: GridControl
Lyubomir Konstantinov
Asked On February 12, 2003 01:26 PM UTC

Hi, Is there an event in GDBG that is fired if the user decided to cancel the current row editing opperation (i.e. event opposite of RowSaved), and if not, if there an easy way to achieve the desired behavior? Thanx, Lubomir

Administrator [Syncfusion]
Replied On February 12, 2003 04:27 PM UTC

There is no such thing as a CancelEdit event fired. What gets raised instead is a Binder.EditModeChanged event after the record has been restored. However, this same event is also raised when you start editing or when the record is saved. But, if you add some additional logic in your code you should be able to detect if the row was canceled. You could for example see if RowSaved was called before EditModeChanged. If this is not the case and IsEditing is false then the row was canceled. I'll make a note that a CancelRow event should be added in a future version. Stefan


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

Live Chat Icon For mobile
Live Chat Icon