How to prevent user from leaving row if validation failed?

13 replies. Last post: December 8, 2010 4:53 PM by Shawn August
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
Shawn AugustMember

I need the ability to prevent a user from leaving row until validation is valid.  I tried using the OnRowValidate and the OnAfterExitMode but the events seem to fire once which allows me to validate and display a message but the user is always allowed to leave.

For example, I have a button that creates a new row and defaults data. The user should be able to enter data within the fields and then validation would occur if the user attempts to leave the row, the grid, or even the page. This would ensure that all of the data entered in the grid is valid.

All times are GMT -5. The time now is 12:33 AM.
Previous Next