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

<!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:DropDownList runat="server" ID="DropDownList1" EnableEdit="true" ForceSelection="false">
        <ext:ListItem Text="Item 1" Value="Value1" Selected="true" />
        <ext:ListItem Text="Item 2 (Unselectable)" Value="Value2" EnableSelect="false" />
        <ext:ListItem Text="Item 3 (Unselectable)" Value="Value3" EnableSelect="false" />
        <ext:ListItem Text="Item 4" Value="Value4" />
        <ext:ListItem Text="Item 5" Value="Value5" />
        <ext:ListItem Text="Item 6" Value="Value6" />
        <ext:ListItem Text="Item 7" Value="Value7" />
        <ext:ListItem Text="Item 8" Value="Value8" />
        <ext:ListItem Text="Item 9" Value="Value9" />
        <ext:ListItem Text="Another Item < L > 1.5" Value="Another Item < L > 1.5" />
    </ext:DropDownList>
    <br />
    <ext:Button ID="btnSelectItem6" Text="Select Item 6" runat="server" OnClick="btnSelectItem6_Click"
        CssClass="inline">
    </ext:Button>
    <ext:Button ID="btnGetSelection" Text="Get selected item of this list" runat="server" OnClick="btnGetSelection_Click">
    </ext:Button>
    <br />
    <ext:Label runat="server" ID="labResult">
    </ext:Label>
    <br />
    <br />
    </form>
</body>
</html>
