<%@ Page Language="C#" AutoEventWireup="true" Inherits="System_Common_SelColumn, 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 href="../Css/layout.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../../Js/Common.js"></script>
<script type="text/javascript">
var api = frameElement.api, W = api.opener, D = W.document;
</script>
</head>

<body>
<form id="form1" runat="server">
  <table width="99%" cellpadding="0" cellspacing="1" align="center">
    <tr>
      <td><NineRays:FlyTreeView ID="ColTree" runat="server" ImageSet="Classic" Height="400" Width="100%" Padding="3px" OnPopulateNodes="ColTree_PopulateNodes" Style="display: block;" EnableTheming="True" DragDropMode="CtrlDefinedMoveDefault" RootDropZoneHoverColor="" SlideEffect="True" DisplayBar="True">
          <defaultstyle font-names="Verdana" font-size="12px" forecolor="Black" padding="0px; 0px; 0px; 0px;" rowheight="16px" borderstyle="NotSet" />
          <selectedstyle backcolor="65, 86, 122" bordercolor="40, 40, 40" borderstyle="None" borderwidth="0px" forecolor="White" padding="0px; 0px; 0px; 0px;" />
          <hoverstyle font-underline="True" borderstyle="None" />
          <selectedhoverstyle borderstyle="None" />
        </NineRays:FlyTreeView></td>
    </tr>
    <tr>
      <td align="center">默认
        <asp:RadioButton ID="Check1" runat="server" Checked="True" GroupName="Check" />勾选
        <asp:RadioButton ID="Check2" runat="server" GroupName="Check" />不勾选
        <asp:Button ID="Button1" runat="server" Text="重新选择" CssClass="btn" OnClick="Button1_Click" />
        <asp:Button ID="Button3" runat="server" Text="追加选择" CssClass="btn" OnClick="Button3_Click" />
        <input id="Button2" type="button" value="关闭本页" class="btn" onClick="javascript:api.close();" />
        <asp:TextBox ID="tempValue" runat="server" Style="display: none;"></asp:TextBox></td>
    </tr>
  </table>
<script>
var val = D.getElementById('<%=ControlId %>').value;
document.getElementById('tempValue').value = val;
</script>
</form>
</body>
</html>