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.

Row enter event is getting fired twice

Thread ID:





22167 Dec 6,2004 03:06 AM Dec 6,2004 05:32 AM Windows Forms 1
Tags: GridControl
Asked On December 6, 2004 03:06 AM

Hi Clay, I''m using a GDGB grid. And I''m using the Row enter event to restrict the User from navigating to other rows when he is currently editing a particular row. I''m popping a message saying you cannot navigate until the changes made are committed/Resetted. But the problem is the row enter is event is getting fired twice and the message is popping up twice when the user is trying to navigate to other rows. The same is not happening when I hav a break point in the event and debug. Bit confusing.. Need ur help. Thanks, Thiagu

Administrator [Syncfusion]
Replied On December 6, 2004 05:32 AM

Instead of popping up the messagebox yourself, try setting this.grid.CurrentCell.ErrorMessage to hold your message, and setting e.Cancel = true in your RowEnter event handler.


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.