Need help with asp.net viewstate

Nov 5 2009 11:47 AM
Hi all, Pls somebody help me with viewsate. Suppose i have created two forms. First form contains First name and Last name and one button called NEXT. And Second form contain two fields and two button like Back and Save. While i am entering some value in form1 pressing one NEXT button and redirecting to second page. There when i am pressing Back button from second page it should come to first page whichever data i filled should exists, but in my case its not showing only empty form i can see when i am pressing on back button. For this i have used viewstate mechanism. in page directory i have set enableviewstate=true. postbackurl in both the button. Pls somebody help me what is wrong with me. Thanks, Sumit

Answers (2)