• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 441
  • Last Modified:

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
0
Kenhigh2000
Asked:
Kenhigh2000
1 Solution
 
soujanya_gCommented:
Hi

You can use wizard control or  with normal controls for every next save the details and when user click previous  bind the details
0
 
Rahul AgarwalTeam LeaderCommented:
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.
0
 
Kenhigh2000Author Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now