I am developing an application that is using the concept of an entire page being put into edit mode or read-only mode. When in read only mode, no changes should be saved to the database until a big 'Save' button is clicked at the top of the page. A single page I am putting together is based on a Office Network. You have the base details (which are done through a formview) such as Domain Name, Username format, etc. But you can also add any number of Servers underneath. the servers are managed through a Gridview, so each item is inserted, then the gridview is rebound. This is a problem, as I don't actually want the Servers to be saved to the database (or removed in the case of a delete) until the large 'Save' button is hit at the top of the screen. What I really need to do is cache each change in memory somewhere, and then when the 'Save' button is hit, execute it all at once.
Is there some easy way to do this that I am overlooking? I would imagine this is a rather common requirement.