<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
    CodeBehind="KnowledgeType.aspx.cs" Inherits="OAWeb.Knowledge.KnowledgeType" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <div class="page_main">
        <div class="page_content">
            <table class="data_title" cellspacing="3">
                <tr>
                    <td class="data_caption">
                        知识分类
                    </td>
                </tr>
                <tr>
                    <td class="data_field">
                        类型名：<asp:TextBox ID="txtTypeName" runat="server" CssClass="text_box"></asp:TextBox>
                        <asp:Button ID="btnSearch" runat="server" Text="搜 索" CssClass="btn_77px" />
                    </td>
                </tr>
            </table>
            <div class="page_op">
                <asp:Button ID="btnNew" runat="server" Text="新增类型" CssClass="btn_77px" OnClientClick="return OpenDialog('KnowledgeTypeEdit.aspx','新增类型');" />
            </div>
            <div class="list">
                <asp:GridView ID="gvData" runat="server" AutoGenerateColumns="False" DataKeyNames="Id"
                    GridLines="None" CellPadding="0" CssClass="table_list" EnableModelValidation="True"
                    OnRowDataBound="gvData_RowDataBound">
                    <RowStyle HorizontalAlign="Left" />
                    <Columns>
                        <asp:BoundField DataField="TypeName" HeaderText="类型名称" />
                        <asp:BoundField DataField="ParentName" HeaderText="父级" />
                        <asp:TemplateField HeaderText="操作" ShowHeader="False">
                            <ItemTemplate>
                                <asp:LinkButton ID="lbtnEdit" runat="server">编辑</asp:LinkButton>
                                <asp:LinkButton ID="lbtnDelete" runat="server">删除</asp:LinkButton>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                </asp:GridView>
            </div>
        </div>
    </div>
</asp:Content>
