Link to home
Start Free TrialLog in
Avatar of ANAT2403
ANAT2403Flag for Israel

asked on

cancel edit in formview

In ASP.NET 2.0 the gridview has an event of RowEditing that consist of a parameter  of type GridViewEditEventArgs
which allow to cancel the update of a row if we want by the command e.Cancel = true.
Is there a cancel property like this in the formvie? I would like when I am in the Edit situation not to update the row.
Thankyou
Anat
ASKER CERTIFIED SOLUTION
Avatar of asdavey
asdavey

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ANAT2403

ASKER

It works great and it does not update the database which is what I want , but the changes are left in the screen. How do I fire the event of cancel so that the changes in the screen will be deleted?