View Single Post
  #5 (permalink)  
Old May 31st, 2015, 03:20 AM
SHOOGN SHOOGN is offline
Authorized User
Points: 218, Level: 4
Points: 218, Level: 4 Points: 218, Level: 4 Points: 218, Level: 4
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2015
Posts: 46
Thanks: 1
Thanked 0 Times in 0 Posts
Default

HTML Code
Code:
<asp:Wizard ID="Wizard1" runat="server" Width="500px" ActiveStepIndex="0">
                <WizardSteps>
                    <asp:WizardStep runat="server" title="About You">
                        <asp:Label ID="Label1" runat="server" Text="Type your name"></asp:Label>
                        <asp:TextBox ID="YourName" runat="server"></asp:TextBox>
                    </asp:WizardStep>
                    <asp:WizardStep runat="server" title="Favorite language" StepType="Finish">
                        <asp:DropDownList ID="FavoriteLanguage" runat="server">
                            <asp:ListItem>C#</asp:ListItem>
                            <asp:ListItem>Visual basic</asp:ListItem>
                            <asp:ListItem>Css</asp:ListItem>
                        </asp:DropDownList>
                    </asp:WizardStep>
                    <asp:WizardStep runat="server" StepType="Complete" Title="Ready">
                        <asp:Label ID="Result" runat="server" Text="Label"></asp:Label>
                    </asp:WizardStep>
                </WizardSteps>
            </asp:Wizard>


And this is code behind
Code:
 Result.Text = "Your Name is" & YourName.Text
        Result.Text &= "<br /> Yore Favorite Language is"
        FavoriteLanguage.SelectedValue


Thank you for your response
Reply With Quote