CodeSnip: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x.
page 4 of 5
by Tom Blanchard
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 27253/ 48

Working in the Web Form (Cont'd.)

Now you can add your controls to the form:

<asp:panel id="pnl1" Runat="server">
<TABLE width="100%">
 <TR>
  <TD align=right>input 1:</TD>
  <TD><asp:TextBox id="textbox1" Runat="server"></asp:TextBox></TD>
 </TR>
</TABLE>
</asp:panel>

I just added a text box to each step for the wizard, but you can add as many different controls as you like.  I will add a save button on step 4.

<asp:panel id="pnl4" Runat="server">
 <TABLE>
  <TR>
   <TD align="right">input 4:</TD>
   <TD><asp:TextBox id="TextBox4" runat="server"></asp:TextBox></TD>
  </TR>
  <TR>
   <TD align="right" colSpan="2">
    <asp:Button id="cmdSave" runat="server" Text="Save"></asp:Button>
   </TD>
  </TR>
 </TABLE>
</asp:panel>

That will allow the user to save the values once they have reached step 4. Your form will now appear like this in design view.


View Entire Article

User Comments

Title: Nice Job   
Name: Manish Jadhav
Date: 2008-03-11 1:20:42 PM
Comment:
That was a nice article. Thanks.
Title: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x   
Name: Honey
Date: 2006-09-04 4:16:01 AM
Comment:
This is very helpful and excellent article
Title: CodeSnip: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x.   
Name: Brian Law
Date: 2005-03-22 2:37:11 PM
Comment:
Thx~....Your guide is cool..I've modify your guide and successfully create a Prev Next Wizard base on your tutorial.
Title: < Prev Next>   
Name: Tom Blanchard
Date: 2005-03-15 5:30:03 PM
Comment:
Manish, I will be adding some more articles in relation to this one very soon. The next one I was planning was on how to handle this behaviour client side.

I will take your idea under consideration and maybe do a third one that contains and idea for that, as well as, building the interface from a database query.

Tom
Title: CodeSnip: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x.   
Name: Manish Jadhav
Date: 2005-03-15 5:17:59 PM
Comment:
Nice article.
Do you have any sample that demonstrates the "Next" & "Previous" kind of wizard interface?

- Manish Jadhav
Title: CodeSnip: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x.   
Name: Mark Priestap
Date: 2005-02-21 10:01:44 AM
Comment:
This was a brilliant article.
Title: CodeSnip: Simulating the ASP.NET 2.0 Wizard Control with ASP.NET 1.x.   
Name: Simon
Date: 2005-02-02 3:14:38 PM
Comment:
This was a brilliant article. Thanks for the great details.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-04-26 3:42:04 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search