<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="radiobuttonlist_update.aspx.cs"
    Inherits="ExtAspNet.Examples.form.radiobuttonlist_update" %>

<!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></title>
    <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" />
    <ext:SimpleForm ID="SimpleForm1" Width="700px" runat="server" LabelWidth="120px"
        EnableBackgroundColor="true" BodyPadding="5px" ShowBorder="True" ShowHeader="True"
        Title="Simple Form">
        <Items>
            <ext:RadioButtonList ID="RadioButtonList1" Label="List 1" runat="server">
                <ext:RadioItem Text="Item 1" Value="value1" />
                <ext:RadioItem Text="Item 2" Value="value2" Selected="true" />
                <ext:RadioItem Text="Item 3" Value="value3" Selected="true" />
            </ext:RadioButtonList>
            <ext:Button ID="btnUpdateList1" CssClass="inline" Text="Update list 1" OnClick="btnUpdateList1_Click"
                runat="server">
            </ext:Button>
            <ext:Button ID="btnCheckedItemsList1" Text="Get selected item of list 1" OnClick="btnCheckedItemsList1_Click"
                runat="server">
            </ext:Button>
            <ext:Label runat="server" Text="&nbsp;">
            </ext:Label>
            <ext:RadioButtonList ID="RadioButtonList2" Label="List 2 (Vertical)" ColumnNumber="3" ColumnVertical="true"
                runat="server">
            </ext:RadioButtonList>
            <ext:Button ID="btnUpdateList2" CssClass="inline" Text="Update list 2" OnClick="btnUpdateList2_Click"
                runat="server">
            </ext:Button>
            <ext:Button ID="btnCheckedItemsList2" Text="Get selected item of list 2" OnClick="btnCheckedItemsList2_Click"
                runat="server">
            </ext:Button>
            <ext:Label ID="Label1" runat="server" Text="&nbsp;">
            </ext:Label>
            <ext:RadioButtonList ID="RadioButtonList4" Label="List 4 (Empty list)" ColumnNumber="3" ColumnVertical="true"
                runat="server">
            </ext:RadioButtonList>
            <ext:Button ID="btnUpdateList4" CssClass="inline" Text="Update list 4" OnClick="btnUpdateList4_Click"
                runat="server">
            </ext:Button>
            <ext:Button ID="btnCheckedItemsList4" Text="Get selected item of list 4" OnClick="btnCheckedItemsList4_Click"
                runat="server">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
    <br />
    <ext:RadioButtonList ID="RadioButtonList3" Width="700px" Label="List 3" ColumnNumber="3"
        ColumnVertical="false" runat="server">
        <ext:RadioItem Text="Item 1" Value="value1" />
        <ext:RadioItem Text="Item 2" Value="value2" />
        <ext:RadioItem Text="Item 3" Value="value3" />
        <ext:RadioItem Text="Item 4" Value="value4" />
        <ext:RadioItem Text="Item 5" Value="value5" Selected="true" />
        <ext:RadioItem Text="Item 6" Value="value6" Selected="true" />
        <ext:RadioItem Text="Item 7" Value="value7" Selected="true" />
        <ext:RadioItem Text="Item 8" Value="value8" />
    </ext:RadioButtonList>
    <ext:Button ID="btnUpdateList3" CssClass="inline" Text="Update list 3" OnClick="btnUpdateList3_Click"
        runat="server">
    </ext:Button>
    <ext:Button ID="btnCheckedItemsList3" Text="Get selected item of list 3" OnClick="btnCheckedItemsList3_Click"
        runat="server">
    </ext:Button>
    </form>
</body>
</html>
