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.

CurrentCellValidating event

Thread ID:

Created:

Updated:

Platform:

Replies:

54200 Jan 3,2007 03:08 PM Jan 4,2007 05:41 PM Windows Forms 2
loading
Tags: GridControl
Julie Levy
Asked On January 3, 2007 03:08 PM

Is there a way to prevent the CurrentCellValidating event from firing. I have a pushbutton cell in each row to remove that row. This event fires when i call the RemoveRange method. It also fires when the row is selected using the row header (another way a user can delete the row).

Is there a way to prevent the event from firing in certain situations, or do i have to manage it myself with flags, etc.

Thanks,
Julie

Administrator [Syncfusion]
Replied On January 3, 2007 11:14 PM

Hi Julie,

Before calling the RemoveRange method, you need to set the CurrentCell.IsModified property to false. Please try the suggestion and let me know if this helps.

Best Regards,
Haneef


Julie Levy
Replied On January 4, 2007 05:41 PM

Thanks Haneef, this works just as i needed for RemoveRange.
Julie

CONFIRMATION

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.

;