Mega Code Archive

 
Categories / ASP.Net Tutorial / ASP Net Controls
 

WizardStep

<%@ 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>