I have an editable GridView which posts back when the edit link is clicked. When clicked, I would like to set a variable like isEdit = True which doesn't reset to false when the page reloads. I need to be able to toggle a Save button that can handle either Insert or Update to a database so I need isEdit to persist. Any suggestions?