how to set up and use a wizard. : Wizard « Asp Control « ASP.Net






how to set up and use a wizard.

<%@ 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>Simple Wizard</title>
</head>
<body>
    <div id="pageContent">
        <form id="form1" runat="server">
            <h2>The simplest wizard!</h2>
            <asp:wizard ID="Wizard1" runat="server" HeaderText="Sample Wizard" DisplaySideBar="true">
            <SideBarStyle BackColor="lightcyan" />
            <HeaderStyle ForeColor="Info" />
            <wizardsteps>
                <asp:wizardstep runat="server" steptype="auto" id="step1">
                <h3>First step</h3>
                </asp:wizardstep>
                <asp:wizardstep runat="server" steptype="auto" id="step2">
                <h3>Second step</h3>
                </asp:wizardstep>
                <asp:wizardstep runat="server" steptype="auto" id="finish">
                <h3>Final step</h3>
                </asp:wizardstep>
            </wizardsteps>
            </asp:wizard>    
        </form>
    </div>
</body>
</html>

 








Related examples in the same category

1.Basic Wizard
2.Wizard template
3.Checkout wizard
4.Checkout wizard (VB)
5.Wizard ActiveStepIndex
6.Wizard history
7.Use WizardStep
8.Wizard Demo
9.Wizard finish button click event