Prompt user when leaving a Gridview row in edit mode
Posted on 2008-10-08
If a user is editing a row in my gridview and they decide to navigate away from the row without confirming the update (such as if they click edit on another row) I want to prompt them and confirm if they wish to "exit the row without saving". What is the best way to do this?
I thought about gvMuniData.RowCancelingEdit, but that event doesn't fire unless they click Cancel on the row. I also tried: