Radgridview rowvalidating dating someone for the second time quotes
How can I roll back if the user enters invalid inputs in some cell.
I tried using the Row Validating event handler but it was not called after cell value has been changed.
This Employee class encapsulates a list of type Product which has a property Item.
I have a Data Grid View that is bound to a list of object. There are certain inputs that are not allowed for a row as a whole.
I have a Customer Grid and a Project Grid and in both there is a column Valid Until. I want to show the user an info when he clicks on a cell in Rad Grid View, but only if the cell is not in editmode.
If I change this column in the Customer Grid, I want to update the same column in the Project Grid. I use the Cell Click event for this, but how can I determine if the cell is in edit ... The data is indexed alphabetically in the main field of the row.
Then within the buttons code you test for the variables value if its true no code is executed. For a possible workaround you could put a private variable into your form and in the cellvalidation code set it to true if an error occurs and false if no error occurs (and naturally set it fo false in the form initialization code).