Sunday, 8 September 2013

Wizard control in Asp.net

1. Open Visual Studio
2. Create a New Website
3. Create New Web Page and Place Wizard control on a page.
4. From Wizard Properties Add WizardSteps.
5. Add Images in Website and Add Code in the .aspx page as below.

<asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="1" Height="165px" 

        Width="211px">
        <WizardSteps>
            <asp:WizardStep runat="server" title="Step 1">
                <img alt="" class="style2" src="rose1.jpg" />
            </asp:WizardStep>
            <asp:WizardStep runat="server" title="Step 2">
            <img alt="" class="style2" src="rose2.jpg" />
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Step 3">
            <img alt="" class="style2" src="rose3.jpg" />
            </asp:WizardStep>
            <asp:WizardStep runat="server" Title="Step 4">
            <img alt="" class="style2" src="rose4.jpg" />
            </asp:WizardStep>
        </WizardSteps>

    </asp:Wizard>


6. Click F5.

No comments:

Post a Comment

Thanks

SQL server tricky questions