<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/KBase.master" AutoEventWireup="true" CodeBehind="Kbase_category.aspx.cs" Inherits="helpdesk.helpdesk.Kbase_category" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">


     
 
 


<asp:HiddenField ID="hf_catname" runat="server" />
<asp:HiddenField ID="hf_types" runat="server" />
<asp:HiddenField ID="hf_pid" runat="server" />

<br />
 
 
<table class="table" cellspacing="4px" cellpadding="4px"  style=" width:700px"  border="0px">
   <tbody>
           
           
         <tr >     
                
         <td  class="td_left" width="20%">类别名称:</td>
          <td width="80%" class="td_right"> 
              <asp:TextBox ID="catname"  CssClass="form-control" runat="server"></asp:TextBox>
           </td>
           
            </tr>
            
   
       <tr >     
             <td  class="td_left">父类别:</td>
          <td class="td_right"> 
             
               <asp:DropDownList id="parentname" CssClass="form-control"  RepeatLayout="flow"  runat="server"    AppendDataBoundItems="true"   >
                <asp:ListItem Text="顶级目录"   Value="0"></asp:ListItem>
	
	       </asp:DropDownList>
					        
           </td>
        </tr>
        
        
 
 
 
       <tr >     
             <td   class="td_left">阅读权限:</td>
          <td class="td_right"> 
 
 <asp:CheckBoxList  ID="cbl_role" runat="server"   RepeatColumns="3" RepeatDirection="Horizontal"  AppendDataBoundItems="true"> 
    <asp:ListItem Text="All Roles" Value="All Roles"></asp:ListItem>
 </asp:CheckBoxList>
    
 *如果需要所有人都可以阅读，可以只勾选 All Roles
 
           </td>
        </tr>
        
        
        
       <tr >     
             <td  class="td_left" >顺序ID:</td>
          <td  class="td_right">  
              <asp:TextBox ID="orderid" Text="0"  CssClass="form-control" runat="server"></asp:TextBox>  
           </td>
        </tr>
        
        
         
        
        
         <tr  >     
                <td colspan="2" align="center">
 
                    
            <asp:Button runat="server" ID="add" OnClick="btnAdd_Click"    CssClass="btn btn-flat  btn-success btn-sm" Text="添加类别"/>
                 
                    
                        <asp:Button runat="server" ID="del" OnClick="del_Click"  OnClientClick="return confirm('确定删除吗？');"   CssClass="btn btn-flat btn-danger btn-sm" Text="删除类别"  Visible="false"/>
             
                  

                </td>
            </tr>
            
            
      
          </tbody>
          </table>




</asp:Content>
