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

<!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" Title="Tree Control" runat="server">
        <Nodes>
            <ext:TreeNode Text="China" EnableCheckBox="true" Expanded="true">
                <ext:TreeNode Text="Henan Province" EnableCheckBox="true" Expanded="true">
                    <ext:TreeNode Text="Zhumadian City" EnableCheckBox="true" NodeID="zhumadian">
                        <ext:TreeNode Text="Suiping County" EnableCheckBox="true" NodeID="Suiping">
                        </ext:TreeNode>
                        <ext:TreeNode Text="Xiping County" EnableCheckBox="true" NodeID="Xiping">
                        </ext:TreeNode>
                    </ext:TreeNode>
                    <ext:TreeNode Text="Luohe City" EnableCheckBox="true" NodeID="luohe" />
                </ext:TreeNode>
                <ext:TreeNode EnableCheckBox="true" Text="Anhui Province" Expanded="true" NodeID="Anhui">
                    <ext:TreeNode EnableCheckBox="true" Text="Hefei City" NodeID="Hefei">
                    </ext:TreeNode>
                    <ext:TreeNode EnableCheckBox="true" Text="Huangshan City" NodeID="Huangshan">
                    </ext:TreeNode>
                </ext:TreeNode>
            </ext:TreeNode>
        </Nodes>
    </ext:Tree>
    <br />
    <ext:Button runat="server" ID="btnGetCheckedValues" Text="Get selected node list" OnClick="btnGetCheckedValues_Click">
    </ext:Button>
    <br />
    <ext:Label runat="server" ID="labResult">
    </ext:Label>
    </form>
</body>
</html>
