<%@ 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>
    <style type="text/css">
        #form1
        {
            height: 262px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:Label ID="Label2" style ="position:absolute; top: 18px; left: 203px;" 
        runat="server" Text="What city?" Font-Bold="True" Font-Size="12pt"></asp:Label>
    <p>
    
        <asp:Label ID="Label1" 
            style ="position:absolute; top: 13px; left: 39px; height: 26px;" runat="server" 
            Text="What color?" Font-Bold="True" Font-Size="12pt"></asp:Label>
    
        <asp:RadioButtonList ID="RadioButtonList2" runat="server" 
            RepeatDirection="Horizontal" 
            
            style="top: 56px; left: 190px; position: absolute; height: 27px; width: 82px" 
            Font-Bold="True" Font-Size="12pt">
            <asp:ListItem>Tehran</asp:ListItem>
            <asp:ListItem Value="Shiraz"></asp:ListItem>
            <asp:ListItem Selected="True">Mashhad</asp:ListItem>
        </asp:RadioButtonList>
        <asp:Label ID="Label3" runat="server" 
            style ="position:absolute; top: 136px; left: 112px; height: 19px;" 
            Text="Selrcted Index:" Font-Bold="True" Font-Size="12pt"></asp:Label>
    
    </p>
    <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
        onselectedindexchanged="RadioButtonList1_SelectedIndexChanged" 
        
        style="top: 54px; left: 32px; position: absolute; height: 77px; width: 62px" 
        Font-Bold="True" Font-Size="12pt">
        <asp:ListItem>Blue</asp:ListItem>
        <asp:ListItem>White</asp:ListItem>
        <asp:ListItem>Red</asp:ListItem>
    </asp:RadioButtonList>
    <asp:Button ID="Button1" runat="server" 
        style="top: 89px; left: 226px; position: absolute; height: 26px; width: 71px" 
        Text="Submit" Font-Bold="True" Font-Size="12pt" onclick="Button1_Click" />
    <asp:Label ID="Label4" runat="server" 
        style ="position:absolute; top: 169px; left: 108px;" Text="Selected Item :" 
        Font-Bold="True" Font-Size="12pt"></asp:Label>
    </form>
</body>
</html>
