ASP Net Controls ASP.Net Tutorial

ActiveStep:                 get the active WizardStep control.
ActiveStepIndex:            set or get the index of the active WizardStep control.
CancelDestinationPageUrl:   URL when clicking Cancel button.
DisplayCancelButton:        hide or display the Cancel button.
DisplaySideBar:             hide or display the Wizard control's sidebar. 
FinishDestinationPageUrl:   URL when clicking the Finish button.
HeaderText:                 header text that appears at the top of the Wizard control.
WizardSteps:                get the WizardStep controls.
The Wizard control supports the following templates:
FinishNavigationTemplate:    appearance of the navigation area of the finish step.
HeaderTemplate:              appearance of the header area.
SideBarTemplate:             appearance of the sidebar area.
StartNavigationTemplate:     appearance of the navigation area of the start step.
StepNavigationTemplate:      appearance of the navigation area of steps that are not start, finish, or complete steps.
The Wizard control also supports the following methods:
GetHistory():     return the collection of WizardStep controls that have been accessed.
GetStepType():    return the type of WizardStep at a particular index. 
                  Possible values are Auto, Complete, Finish, Start, and Step.
MoveTo():         move to a particular WizardStep.
The Wizard control also supports the following events:
ActiveStepChanged:        Called when a new WizardStep becomes the active step.
CancelButtonClick:        Called when the Cancel button is clicked.
FinishButtonClick:        Called when the Finish button is clicked.
NextButtonClick:          Called when the Next button is clicked.
PreviousButtonClick:      Called when the Previous button is clicked.
SideBarButtonClick:       Called when a sidebar button is clicked.
The WizardStep control supports the following properties:
AllowReturn:      prevent or allow a user to return to this step from a future step.
Name:             return the name of the WizardStep control.
StepType:         get or set the type of wizard step. 
                  Possible values are Auto, Complete, Finish, Start, and Step.
Title:            get or set the title of the WizardStep. 
                  The title is displayed in the wizard sidebar.
Wizard:           get the Wizard control containing the WizardStep.
The WizardStep also supports the following two events:
Activate:        Raised when a WizardStep becomes active.
Deactivate:      Raised when another WizardStep becomes active.
<%@ Page Language="C#" %>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    protected void Wizard1_FinishButtonClick(object sender, WizardNavigationEventArgs e)
    {
        lblSSNResult.Text = txtSSN.Text;
        lblPhoneResult.Text = txtPhone.Text;
    }



    Show Wizard


    
    

            id="Wizard1"
        HeaderText="Product Survey"
        OnFinishButtonClick="Wizard1_FinishButtonClick"
        CssClass="wizard"
        HeaderStyle-CssClass="header"
        SideBarStyle-CssClass="sideBar"
        StepStyle-CssClass="step"
        Runat="server">
        
        
        Please complete our survey so that we can improve our
        products.
        
        
                    id="lblSSN"
            Text="Social Security Number:"
            AssociatedControlID="txtSSN"
            Runat="server" />
        
                    id="txtSSN"
            Runat="server" />
        
        
                    id="lblPhone"
            Text="Phone Number:"
            AssociatedControlID="txtPhone"
            Runat="server" />
        
                    id="txtPhone"
            Runat="server" />
        
        
        

Summary


        Social Security Number:
                    id="lblSSNResult"
            Runat="server" />
        
        Phone Number:
                    id="lblPhoneResult"
            Runat="server" />