<%@ page language="C#" autoeventwireup="true" validaterequest="false" inherits="KnowledgeClassManage_E, App_Web_4plofzsr" stylesheettheme="Themes" theme="Themes" %>

<!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">
    <link href="../css/layerDiv.css" rel="stylesheet" type="text/css" />

    <script src="../js/LayerDiv.js" type="text/javascript"></script>
           <script src="../js/artDialog3/artDialog.min.js"></script>
      <script>          (function($) { var d = $.dialog.defaults; d.skin = ['chrome']; })(art);</script>
    <title></title>
    <style type="text/css">

    </style>
</head>
<body>
<form id="form1" runat="server">
    <table cellpadding="0" cellspacing="0" class="table_box">
        <tr>
            <td class="right_bg">
                <span class="right_title">
                    <img src="../Images/homen.gif" class="img_style" />
                    您的当前位置：资源管理 &gt; 基础数据管理 &gt; 企业知识类别</span>
            </td>
        </tr>
<tr>
            <td class="r_top_box">
                <table cellspacing="0" cellpadding="5" class="r_top_title_box">
    <tr>
         <td align="right">
             <asp:Button ID="btnAddRoot" runat="server" SkinID="big_btn"  Text="添加一级类别" OnClick="btnAddRoot_Click"  />
        <asp:Button ID="btnAddSub" runat="server" SkinID="big_btn" Text="添加子类别" OnClick="btnAddSub_Click" />
        <asp:Button ID="btnModifyName" runat="server" SkinID="big_btn" Text="修改类别名称" OnClick="btnModifyName_Click" />
        <asp:Button ID="btnDel" runat="server" SkinID="big_btn" Text="删除选中类别" OnClientClick='return confirm("确定要删除吗？");' OnClick="btnDel_Click" />
    </td>
    </tr>
</table></td></tr>
        <tr><td class="margintop5">
        <table bgcolor="white" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td align="left" class="tree_box">
    <asp:TreeView ID="tree" runat="server" ShowLines="True" DataSourceID="XmlDataSource1" ExpandDepth="1" OnDataBound="tree_DataBound" OnSelectedNodeChanged="tree_SelectedNodeChanged">
        <LevelStyles>
          <asp:TreeNodeStyle Font-Underline="False" />
          <asp:TreeNodeStyle Font-Underline="False" />
        </LevelStyles>
        <SelectedNodeStyle ForeColor="" />
        <NodeStyle ForeColor="Black" />
        <RootNodeStyle HorizontalPadding="0px" />
        <DataBindings>
          <asp:TreeNodeBinding DataMember="Item" TextField="ClassName" ValueField="ID" />
          <asp:TreeNodeBinding DataMember="Root" TextField="ClassName" ValueField="ID" />
        </DataBindings>
      </asp:TreeView>
     <asp:XmlDataSource ID="XmlDataSource1" runat="server" EnableCaching="False"></asp:XmlDataSource>
     </td>
            </tr>
        </table></td></tr>
        </table>
             
<div id="LayerShow" runat="server" style=" display:none;width:350px;">
<div id="m_onlineuser" class="b2" style="width:350px;">
            <div class="rct">
                <div class="l tl1">
                </div>
                <div class="r tr1">
                </div>
            </div>
            <div class="cnt f14">
                <div style="color: #666" align="center">
                    <table  border="0" cellpadding="5" cellspacing="0" width="330">
	<tr class="td_3">
	<td bgcolor="#ffffff" height="25" align="right" class="style1">
	分类名称：
	</td>
	<td bgcolor="#ffffff" height="25" align="left">
		<asp:TextBox id="txtClassName" runat="server" CssClass="input1" Width="150px" MaxLength="20"></asp:TextBox>
	</td></tr>
	<tr class="td_3">
	<td bgcolor="#ffffff" height="25" align="right" class="style1">
		&nbsp;</td>
	<td bgcolor="#ffffff" height="25" align="left">
		 <asp:Button ID="btnSave" runat="server" Text="保 存" onclick="btnSave_Click" />
        <asp:Button ID="btnCancel" runat="server" Text="取消" onclick="btnCancel_Click" />
	</td></tr>
</table>
                </div>
            </div>
            <div class="rcb">
                <div class="l bl1">
                </div>
                <div class="r br1">
                </div>
            </div>
        </div>
        

</div>

<div id = "LayerAll" runat="server"></div>
</div>

</form>
</body>
</html>

