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

Row enter event is getting fired twice

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

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon