Link to home
Start Free TrialLog in
Avatar of Kenhigh2000
Kenhigh2000

asked on

ASP.NET WEB FORM

I have created web form, but would like it to be 3 pages form with CLICK next action to the next page. The final page will display all informations being filled. How will I do it so when the user move to next page, he can still come back to previous page for modification and continue till final page to display all he had filled
Avatar of soujanya_g
soujanya_g

Hi

You can use wizard control or  with normal controls for every next save the details and when user click previous  bind the details
Avatar of Rahul Agarwal
You can use Panel Control or Div control with like

<div id="First" runat="Server" >
<asp:Button ID="btnNext" runat="server" Text="Next" />
</div>
<div id="Second" runat="Server" >
<asp:Button ID="btnPrevious" runat="server" Text="Previous" />
<asp:Button ID="btnNext" runat="server" Text="Next" /></div>

<div id="Third" runat="Server" >
<asp:Button ID="btnPrevious" runat="server" Text="Previous" />
<asp:Button ID="btnNext" runat="server" Text="Next" />

</div>

when you click on Next button on div id="First" invisible div id="First", "Third", Visible div id="Second"

and when you click on Next button on div id="Second" invisible div id="First", "Second" and Visible div id="Third" or Previous button on div id="Second"
invisible div id="Second", "Third", Visible div id="First" and so on.

by that all controls are on the same page and you can retain their values as well at the time of modification on previous control values.

I am solving these problem like this hope this helps in you case as well.
ASKER CERTIFIED SOLUTION
Avatar of mayank_joshi
mayank_joshi
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kenhigh2000

ASKER

Thanks so much Aqrwalrahul for using your time. How will I save the filled text of each page and display all the contents on the final page for the user to confirm and click submit. Please try and elaborate with code as you did with the last Answer