Hello,
I have a simple web form that has a several fields and a gridview on it. I also have a save and cancel button.
I would like a way to undo what was done to the data on the form when the user presses cancel. This is simple enough with the fields however since changes to the gridview happen in real time against the database I do not know how to get undo functionality.
I have thought of storing the changes to gridview in viewstate but I would rather not because of the extra space requirement.
I have also thought of a temporary table that would stored the changes then roll them back as needed.
Does anyone have an idea how to get undo functionality from the form?