Datagridview rowvalidating example

Rated 3.92/5 based on 868 customer reviews

I have informed my employer that hitting the Tab key would be more natural to move to the next column but they are firm on making the Enter key do this.

When they are in the 2nd or 3rd last column (depending on whether Debit or Credit value entered) and hit Enter, the behaviour they wish to see the Rad Grid View exhibit is to create a new line, give the newline focus and perform validation on the row that has just been vacated (lost focus).

I have managed to narrow down the conditions that cause the error and it seems to surface if i have a filter set for a paricular column value.

Could you strip only a part of your code and send it as a small example to allow us looking into this issue?

In order to be able to send us your project, you have to open a new support ticket.

The Cell Validating and Cell Validated events will be fired when the edited cell is losing the focus.

You may take a look at our online documentation for further reference on the validating events and the way a validation can be performed.

Leave a Reply