Last Updated:
11 Feb 2020 08:00
by ADMIN
GridView: Return None or Cancel EditOperationType in the RowValidating event arguments when the edit is canceled
The RowValidating event arguments give information about the edit operation that triggered the row validation - None, Edit or Insert. However, when the edit is canceled the EditOperationType is set to Edit. Change this and provide a new value (Cancel) or use None when the validation is canceled.