<%@ Page Title="" Language="C#" MasterPageFile="~/helpdesk/KBase.master" AutoEventWireup="true" CodeBehind="Kbase_add.aspx.cs" Inherits="helpdesk.helpdesk.Kbase_add" %>
<%@ Register src="~/UserControls/HtmlEdit.ascx" tagname="HtmlEdit" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="alert" style="border:solid 1px #ccc">
        添加或者更新知识库
    </div>

<table class="table">
    <tr>
        <th style="width:150px">知识库类别</th>
        <td>
  <asp:DropDownList id="parentname"  CssClass="form-control" Width="400px"  runat="server"      >
    </asp:DropDownList>
        </td>
    </tr>
  
    
      <tr>

        <th>
知识库标题
        </th>
          <td>
 <asp:TextBox ID="title" CssClass=" form-control" Width="600" runat="server"></asp:TextBox>
              <asp:RequiredFieldValidator runat="server" ID="rf" ControlToValidate="title" ErrorMessage="必须填写标题" Display="Dynamic"></asp:RequiredFieldValidator>
          </td>
    </tr>


          <tr>

        <th>
关键字
        </th>
          <td>
 <asp:TextBox ID="keyword"  placeholder="用空格或者分号分割" CssClass=" form-control" Width="600" runat="server"></asp:TextBox> 
          </td>
    </tr>



    <tr>
        <th>自动下载站外图片

        </th>
        <td>
<asp:CheckBox Checked="true" runat="server" ID="cb_autodownpic" Text="" />
        </td>
    </tr>

    <tr>
        <th>内容</th>
        <td>
 <uc1:HtmlEdit ID="message" runat="server" />
        </td>
    </tr>

    <tr>
        <th>&nbsp;</th>
        <td  style=" padding-left:200px"> 
            <asp:Button ID="btnsubmit" runat="server" Text="提交" CssClass="btn btn-primary" onclick="btnsubmit_Click" />

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

    
 
 
<asp:TextBox ID="intro"   Visible="false"   TextMode="MultiLine" Width="500" Height="100" runat="server"></asp:TextBox> 

 

 
      
 


</asp:Content>
