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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row enter event is getting fired twice

Thread ID:

Created:

Updated:

Platform:

Replies:

22167 Dec 6,2004 08:06 AM UTC Dec 6,2004 10:32 AM UTC WinForms 1
loading
Tags: GridControl
Thiyagu
Asked On December 6, 2004 08:06 AM UTC

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 10:32 AM UTC

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.

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.

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

;