<%@ Page Language="C#" AutoEventWireup="True" CodeBehind="Tree_FunctionType.aspx.cs" Inherits="MYAPP.Manage.KRCode.Programming.Function.Tree_FunctionType" %>
<%@ Register TagPrefix="ComponentArt" Namespace="ComponentArt.Web.UI" Assembly="ComponentArt.Web.UI" %>
<!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 id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<script language="JavaScript" type="text/javascript" src="/js/tdialog.js"></script>
<script language='JavaScript' type='text/javascript' src='/js/common.js'></script>
<script language="JavaScript" type="text/javascript" src="/js/odialog.js"></script>
<link href="/CSS/main.css" rel="stylesheet" type="text/css" />
<link href="splitterStyle.css" type="text/css" rel="stylesheet" />
<link href="treeStyle.css" type="text/css" rel="stylesheet" />
<title></title>
<script language="JavaScript" type="text/javascript">
    var _Value;

    function nodeSelect(node) {
        _Value = node.GetProperty('Value');
		if (_Value=="ROOT")
		{
			mainBEFrame.location="List_Function.aspx?FunctionType=";
		}
		else
		{
			mainBEFrame.location="List_Function.aspx?FunctionType="+_Value;
		}
		return true;
    }

    function resizeTree(DomElementId, NewPaneHeight, NewPaneWidth) {
        TV_Tree.Render();
    }
</script>
</head>
</head>
<body style="margin:0px; overflow-y:hidden" scroll="no" onload="">
<form id="theform" runat="server">
  <table width="100%" cellspacing="0" border="1" align="center" cellpadding="0" bordercolor="#CCCCCC"
            class="board_kong">
    <tr>
      <td><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="1">
          <tr>
            <td style="border-bottom: #CCCCCC 1px solid; height: 24px"><table class="title_table">
                <tr>
                  <td class="l_title">Function Manage</td>
                  <td width="180" align="center"><input type="button"  value=" Refresh " onclick="window.location=window.location;" class="width80px" />
                    <input type="button"  value="关闭" onclick="window.close();" class="width80px" style="width:70px" /></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td valign="top"><ComponentArt:Splitter runat="server" ID="sp" FillHeight="true" FillWidth="true"
                                    ImagesBaseUrl="images/Splitter/">
                <Layouts>
                  <ComponentArt:SplitterLayout>
                    <Panes Orientation="Horizontal" SplitterBarCssClass="HorizontalSplitterBar" SplitterBarActiveCssClass="ActiveSplitterBar"
                                                SplitterBarWidth="5">
                      <ComponentArt:SplitterPane PaneContentId="TreeViewContent" Width="150" MinWidth="0"
                                                    ClientSideOnResize="resizeTree" CssClass="SplitterPane" />
                      <ComponentArt:SplitterPane>
                      <panes orientation="Vertical" splitterbarcollapseimageurl="splitter_verCol.gif" splitterbarcollapsehoverimageurl="splitter_verColHover.gif"
                                                        splitterbarexpandimageurl="splitter_verExp.gif" splitterbarexpandhoverimageurl="splitter_verExpHover.gif"
                                                        splitterbarcollapseimagewidth="116" splitterbarcollapseimageheight="5" splitterbarcssclass="VerticalSplitterBar"
                                                        splitterbarcollapsedcssclass="CollapsedVerticalSplitterBar" splitterbaractivecssclass="ActiveSplitterBar"
                                                        splitterbarwidth="5">
                        <ComponentArt:SplitterPane PaneContentId="MainContent" CssClass="SplitterPane" />
                      </panes>
                      </ComponentArt:SplitterPane>
                    </Panes>
                  </ComponentArt:SplitterLayout>
                </Layouts>
                <Content>
                  <ComponentArt:SplitterPaneContent id="TreeViewContent">
                    <ComponentArt:TreeView ID="TV_Tree" Height="100%" Width="100%" EnableViewState="true"
                                                ClientSideOnNodeSelect="nodeSelect" KeyboardEnabled="false" ShowLines="true"
                                                DisplayMargin="false" NodeCssClass="TreeNode" SelectedNodeCssClass="SelectedTreeNode"
                                                MultipleSelectedNodeCssClass="MultipleSelectedTreeNode" HoverNodeCssClass="HoverTreeNode"
                                                NodeEditCssClass="NodeEdit" CutNodeCssClass="CutTreeNode" MarginWidth="20" DefaultMarginImageWidth="24"
                                                DefaultMarginImageHeight="20" LineImageWidth="19" LineImageHeight="20" NodeLabelPadding="3"
                                                ParentNodeImageUrl="folders.gif" LeafNodeImageUrl="folder.gif" CollapseImageUrl="exp.gif"
                                                ExpandImageUrl="col.gif" ExpandCollapseImageWidth="19" ExpandCollapseImageHeight="20"
                                                ImagesBaseUrl="images/tree/" LineImagesFolderUrl="images/lines/" runat="server"> </ComponentArt:TreeView>
                  </ComponentArt:SplitterPaneContent>
                  <ComponentArt:SplitterPaneContent id="MainContent">
                    <iframe src="" id="mainBEFrame" name="mainBEFrame" width="100%" height="100%" scrolling="auto"
                                                frameborder="0"></iframe>
                  </ComponentArt:SplitterPaneContent>
                </Content>
              </ComponentArt:Splitter></td>
          </tr>
        </table></td>
    </tr>
  </table>
</form>
</body>
</html>
