Row validating

The validation events are meant to support the data validation of the user input.

row validating-77row validating-80

To get notified, you can use the following events exposed by the Rad Grid View control: It is important to know that each one of the validation events is fired only when the user is trying to commit new data in the Rad Grid View control.

I have finally tracked down a bug that I've been working on for the entire weekend, however I don't see a way to really solve it - in a clean way, that is.

The situation is that I have a DGV control that is bound to a List of business objects.

the problem comes in when i add a new row, if i dont focus the datagridview on the primary key the cell validating event does not fire and i get an error when i update the database because the datagrid accepts my empty value.

here's my attempt at the row validation but it does not work, i would like your help please.

dgd Eligible Files contains a list of files & file info, and a checkbox column - if a row is checked, the file it represents is "assigned" to the selected row in dgd Applications (a row/application in dgd Applications may have many files assigned to it). If "Yes", I want to proceed with dgd Applications_Mouse Click on the new row, which will do the following: clear the checkboxes in dgd Eligible Files, retrieve the list of files for the newly selected app in dgd Applications, and update checked/selected values in the underlying list bound to dgd Eligible Files (followed by dgd Eligible Files. My problem: When the messagebox is displayed in dgd Applications.

You must have an account to comment. Please register or login here!