Check out these support articles:
http://support.microsoft.com/search/...mDays=&InCC=on
(watch for wrapping)
The URL goes to Microsoft Support and lists all the articles related to
ASP.NET and Server.Transfer.
--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
"KK" <> wrote in message
news:...
> Hi
>
> I am trying to implement a couple of webforms which will
> work as a normal installation program. That is from each
> form you can go to the NEXT or PREVIOUS form. I want
> to have about 4 forms. So if I start from form 1 and press
> Next, 4 times it will come to form 4. Now when when I go
> back to form 1(If needed) all those forms should save its
> previous state. I have tried this using VIEWSTATE. But
> it acts werid.(That is cause am doing something wrong which
> I can't figure out) can anybody help me out?
>
> I made sure all my 4 forms have something like
>
> <form id="Form1" method="post" runat="server">
> </form>
>
> But what I did was when I click NEXT or PREVIOUS
> buttons, say from WebForm2.aspx, I have
>
> Server.Transfer("Webform3.aspx",true) in NEXT click
> Server.Transfer("Webform1.aspx",true) in PREVIOUS click
>
> Server.Transfer stops execution of current page.
> Does that have an impact on saving viewstate?
>
> Any help is appreciated
> KK
>
>