seun
seun

Reputation: 37

How to Create a Multi page form asp.net

I'm fairly new to programming and the .net framework, I'm trying to create a registration page that would require users to move from one step to another. There would be a button at the bottom of each page that takes the user to the next page, however is there a way I can do this without haveing to create multiple pages. I've tried creating multiple forms in the asp.net page but i can't add server controls to the other forms as they don't have the attribute "runat='server'".

Please help, how do i go about it?

Upvotes: 2

Views: 7281

Answers (2)

Maheshwari Kahar
Maheshwari Kahar

Reputation: 26

Using Jquery you can get multiple page form facility....... https://www.mindstick.com/forum/33822/how-to-use-jquery-steps-form-in-asp-dot-net

Upvotes: 0

ElGavilan
ElGavilan

Reputation: 6904

Several ways you can accomplish this:

  1. Put each section in its own div and use javascript to show/hide each section
  2. Put each section in its own asp:Panel and show/hide each section on postback
  3. Put each section in its own page and capture postback from previous page on the next page
  4. Use the ASP.NET Wizard control: http://msdn.microsoft.com/en-us/library/w7dyf6b5%28v=vs.100%29.ASPX

Upvotes: 4

Related Questions