Why the gridView_RowUpdating events get hit again when I refresh the page after it completed the update?
Posted on 2014-12-22
Hi, I'm using VS2012.
After the end of the gridView_RowUpdating, I set the EditIndex to -1. Doesn't this signal that updating event is completed? The gridview returns to the original state and the UPdate and Cancel button goes away. I then click Refresh (in the browser next to the url) icon to refresh the page, then it hit my break point in VS that is in gridView_RowUpdating event.
Why is it hitting that updating event code again? How to fix this? Thank you.