<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Label_ColumnTreeMenu, QianboCMS" EnableEventValidation="false" %>
<%@ Register Assembly="NineRays.WebControls.FlyTreeView" Namespace="NineRays.WebControls" TagPrefix="NineRays" %>
<!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 rel="stylesheet" href="../Css/layout.css" type="text/css" />
    <script language="javascript" type="text/javascript" src="../../Js/Common.js"></script>
</head>

<body>
    <form id="form1" runat="server">
        <div>
            <NineRays:FlyTreeView ID="FlyTreeView1" runat="server" OnPopulateNodes="Tree_PopulateNodes"></NineRays:FlyTreeView>
            <asp:Button ID="Button1" runat="server" Text="Button" OnClick="Button1_Click" Height="1px" Width="1px" />
            <input id="hidColumnId" type="hidden" runat="server" />
            <input id="hidColumnName" type="hidden" runat="server" />
        </div>
        <div>
            <input id="btnOk" onclick="Return()" type="button" value="确定" class="btn" />
        </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript">
    function Return() {
        alert($("hidColumnId").value + "\r\n" + $("hidColumnName").value);
    }
    function tree_oncheck() {
        document.getElementById("Button1").click();
    }
</script>