<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:Label ID="Label1" runat="server" style ="position :absolute; top: 38px; left: 71px;" 
            Text="MultiView Active ViewIndex Example"></asp:Label>
    
    </div>
    <asp:Panel ID="Page1ViewPanel" runat="server" 
        
        style="top: 72px; left: 59px; position: absolute; height: 434px; width: 324px;">
        <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0" 
            onactiveviewchanged="MultiView1_ActiveViewChanged">
            <asp:View ID="PageNumber1" runat="server">
                <asp:Label ID="Label2"  runat="server" 
                    Text="What kind of application do you develop?" Font-Bold="True" 
                    Font-Size="12pt"></asp:Label>
                <br />
                <asp:RadioButton ID="RadioButton1" runat="server" GroupName="RadioGroup1" 
                    Text="Web Application" />
                <br />
                <asp:RadioButton ID="RadioButton2" runat="server" GroupName="RadioGroup1" 
                    Text="Windows Form Applications" />
                <br />
                <br />
                <asp:Button ID="Page1Next" runat="server" onclick="Page1Next_Click" 
                    style="top: 103px; left: 3px; position: absolute; height: 26px; width: 56px" 
                    Text="Next" />
                <br />
            </asp:View>
            <asp:View ID="PageNumber2" runat="server">
                <br />
                <asp:Label ID="Label3" runat="server" 
                    Text="How long have you been a developer?"></asp:Label>
                <br />
                <asp:RadioButton ID="RadioButton3" runat="server" GroupName="RadioGroup1" 
                    Text="Less than five years" />
                <br />
                <asp:RadioButton ID="RadioButton4" runat="server" GroupName="RadioGroup1" 
                    Text="More than five years" />
                <br />
                <asp:Button ID="Page2Back" runat="server" onclick="Page2Back_Click" 
                    Text="Previous" />
                <asp:Button ID="Page2Next" runat="server" onclick="Page2Next_Click" 
                    Text="Next" />
            </asp:View>
            <asp:View ID="PageNumber3" runat="server">
                <asp:Label ID="Label4" runat="server" Font-Bold="True" Font-Size="12pt" 
                    Text="What is your primary programming language?"></asp:Label>
                <br />
                <br />
                <asp:RadioButton ID="RadioButton5" runat="server" GroupName="RadioGroup1" 
                    Text="Visual Basic.NET" />
                <br />
                <asp:RadioButton ID="RadioButton6" runat="server" GroupName="RadioGroup1" 
                    Text="Visual C++.NET" />
                <br />
                <asp:RadioButton ID="RadioButton7" runat="server" GroupName="RadioGroup1" 
                    Text="Visual C#.NET" />
                <br />
                <asp:Button ID="Page3Back" runat="server" onclick="Page3Back_Click" 
                    Text="Previous" />
                <asp:Button ID="Page3Next" runat="server" onclick="Page3Next_Click" 
                    Text="Next" />
            </asp:View>
            <asp:View ID="PageNumber4" runat="server">
                <br />
                <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="12pt" 
                    Text="Thank you for taking the survey."></asp:Label>
                <br />
                <br />
                <asp:Button ID="Page4Save" runat="server" onclick="Page4Save_Click" 
                    style="height: 26px; width: 145px" Text="Save Responses" />
                <asp:Button ID="Page4Restart" runat="server" onclick="Page4Restart_Click" 
                    Text="Retake Survey" />
            </asp:View>
        </asp:MultiView>
    </asp:Panel>
    </form>
</body>
</html>
