Instead of using a Session object or storing in a database, I save the temporary variables that I need to save the ViewState variables. For example, ViewState ("MyField1") = 1
When the user clicks the Rrefresh browser button, Page.IsPostback returns to False and the ViewState is missing.
My question is. If the user can blow away the ViewState with a refresh, why use it?
I know that Refresh sends the last page submitted, why is W._spostback reset False and ViewState reset?
Cry me if you want to create a potential question, but I read other posts here and it doesn't sink in ...
Update original post:
Now I think this is due to postbacks that are executed as a result of clicking on the buttons that are within the UpdatePanel. Can someone help shed some light on this?
Chadd source
share