<%@ Page Title="" Language="C#" MasterPageFile="~/admin/Simple.Master" AutoEventWireup="true" CodeBehind="question_cat_addedit.aspx.cs" Inherits="Kbase.admin.Kb_Cat_AddEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:HiddenField runat="server" ID="hf_path" />

    <div style="margin:20px;">
		
				 
						<div class="group">
							<label>部门名称</label>
							<div class="enter">
							   <asp:TextBox ID="txt_catname" Width="400px"   Height="34" runat="server"></asp:TextBox>
							</div>
						</div>


						<div class="group">
							<label>顺序ID</label>
							<div class="enter">
								 <asp:TextBox ID="txt_orderid" Text="0"  Height="34"   Width="400px"   runat="server"></asp:TextBox>  
							</div>
						</div>



						<div class="group" style="width: 400px;">
							<label>父部门</label>
						 
							    <asp:DropDownList id="ddl_parentname" AppendDataBoundItems="true"  Width="400px"   CssClass="form-control"  style=" border-radius:0px;"   runat="server"    >
                                    <asp:ListItem Text="作为根目录" Value="0"></asp:ListItem>
                              </asp:DropDownList>
					        
						 
						</div>


        <div style="clear:both"></div>
        <div style=" padding-left:20px; margin-top:20px;">
        <asp:Button runat="server" CssClass="btn btn-primary btn-flat" ID="add" OnClick="add_Click"   Text="添加"/>

     <asp:Button runat="server" CssClass="btn  btn-info btn-flat" ID="edit" OnClick="edit_Click"   Text="更新"/>

   <asp:Button runat="server" CssClass="btn btn-danger btn-flat" ID="del" OnClick="del_Click"   Text="删除"/>

            </div>
					 
				</div>



</asp:Content>
