K
Kelllisa
When a user adds a row to an unbound datagridview, then clicks out of
the row (or the control loses focus for any reason) without entering
anything, I would like to have the row automatically deleted. However,
I cannot find an appropriate event to handle this case. Using
CellEndEdit results in a re-entry, and CellValidating/Validated and
most other events result in an InvalidOperationException.
Does anyone know where I could put this logic?
Thanks.
the row (or the control loses focus for any reason) without entering
anything, I would like to have the row automatically deleted. However,
I cannot find an appropriate event to handle this case. Using
CellEndEdit results in a re-entry, and CellValidating/Validated and
most other events result in an InvalidOperationException.
Does anyone know where I could put this logic?
Thanks.