Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 Viewstate problem on Refresh page

Author  Topic 

juicyapple
Posting Yak Master

176 Posts

Posted - 2008-04-24 : 23:58:14
I have one question about viewstate. I have an page with insert,update and delete function. When click on Add button, I set the viewstate("page_mode") = "add", and at the end of the insert transaction, I set the viewstate("page_mode") = "cancel". All the things work accept I click Refresh in IE, the viewstate("page_mode") will rollback to previous which is "add". I am still a beginner in web prog, please help. Thanks.
   

- Advertisement -