Rowvalidating event datagridview
And the Leave events don't seem to offer the option to cancel. I also tried taking the code from the mouseclick event, wrapping a method around it, and calling it from both the mouseclick and rowvalidating events.
It still doesn't get called from the rowvalidating event if the ueser elects to continue - why is that?
I can check to see that there is an issue, and throw the appropriate error message if there is.
The problem is being unable to cancel the moving from row to row (and, as such, attempting to save the changes).
Thanks, Matt Jeffrey Tan[MSFT] wrote: Hi Matt, Thanks for your post.