<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="tree_multi_select.aspx.cs"
    Inherits="ExtAspNet.Examples.tree.select.tree_multi_select" %>

<!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:Tree ID="Tree1" Width="500px" ShowHeader="true" EnableMultiSelect="true" Title="Tree Control"
        runat="server">
        <Nodes>
            <ext:TreeNode Text="China" Expanded="true">
                <ext:TreeNode Text="Henan Province" Expanded="true">
                    <ext:TreeNode Text="Zhumadian City" Expanded="true" NodeID="Zhumadian">
                        <ext:TreeNode Text="Suiping County" NodeID="Suiping">
                        </ext:TreeNode>
                        <ext:TreeNode Text="Xiping County" NodeID="Xiping">
                        </ext:TreeNode>
                    </ext:TreeNode>
                    <ext:TreeNode Text="Luohe City" Enabled="true" NodeID="Luohe" />
                </ext:TreeNode>
                <ext:TreeNode Text="Anhui Province" Expanded="true" NodeID="Anhui">
                    <ext:TreeNode Text="Hefei City" NodeID="Hefei">
                    </ext:TreeNode>
                    <ext:TreeNode Text="Huangshan City" NodeID="Huangshan">
                    </ext:TreeNode>
                </ext:TreeNode>
            </ext:TreeNode>
        </Nodes>
    </ext:Tree>
    <br />
    <br />
    Note: This tree can be multi-selected, pressed the "Ctrl" key select multi-items.
    <br />
    <br />
    <ext:Button ID="btnGetSelectedValues" OnClick="btnGetSelectedValues_Click" CssClass="inline"
        runat="server" Text="Get selected node list">
    </ext:Button>
    <ext:Button ID="btnSelectOthers" OnClick="btnSelectOthers_Click" runat="server" Text="Continue to select Hefei City and Huangshan City">
    </ext:Button>
    <br />
    <ext:Label ID="labResult" runat="server">
    </ext:Label>
    <br />
    <br />
    </form>
</body>
</html>
