WizardStep : Wizard « ASP.net Controls « ASP.NET Tutorial






<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <title>Sample Simple Wizard</title>
</head>
<body>
   <form id="form1" runat="server">
      <div id="container">
      <h1>Sample Wizard</h1>
      <asp:Wizard ID="myWizard" runat="server" HeaderText="Sample Wizard" >
         <WizardSteps>
            <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1">
               <b>Step One</b><br />
               <asp:Label ID="label1" runat="server">Name</asp:Label>
               <asp:TextBox ID="txtName" runat="server" /><br />
               <asp:Label ID="label2" runat="server">Email</asp:Label>
               <asp:TextBox ID="txtEmail" runat="server" />
            </asp:WizardStep>
            <asp:WizardStep ID="WizardStep2" runat="server" Title="Step 2">
               <b>Step Two</b><br />
               <asp:Label ID="label3" runat="server">Shipping</asp:Label>
               <asp:DropDownList ID="drpShipping" runat="server">
                  <asp:ListItem>Air Mail</asp:ListItem>
                  <asp:ListItem>Fed Ex</asp:ListItem>
               </asp:DropDownList>
            </asp:WizardStep>
         </WizardSteps>
      </asp:Wizard>
      </div>
   </form>
</body>
</html>








3.29.Wizard
3.29.1.Displaying a Wizard
3.29.2.A simple Wizard control (C#)
3.29.3.A simple Wizard control (VB)
3.29.4.Wizard and its steps (C#)
3.29.5.WizardStep
3.29.6.Custom wizard navigation
3.29.7.Custom wizard
3.29.8.Help Example Wizard
3.29.9.Wizard template