<%@ Page Title="" Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="EditAnnouncements.aspx.cs" Inherits="Portal.Admin.EditAnnouncements" %>
<%@ Register src="~/UserControls/HtmlEdit.ascx" tagname="HtmlEdit" tagprefix="uc1" %>
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 
 
 <div class="result-wrap">

      <div class="result-title">
                <b>添加/修改通知</b>
            </div>

 
 <div>
   
 

 
  <table class="table" >
   <tr>
   <th width=150px>通知标题：
   </th>
    <td>
    <asp:TextBox id="TitleField"  CssClass="form-control"  width="390"  runat="server" />
      </td>
    </tr>

      

       <tr>
       <th  >通知类别:
         </th>
       <td>
       <asp:DropDownList runat="server" CssClass="form-control" ID="ddl_cat" width="390"></asp:DropDownList>
      
      </td>
    </tr>   


       <tr>
       <th  >通知部门:
         </th>
       <td>
       <asp:DropDownList runat="server" CssClass="form-control" ID="releasedepart" width="390"></asp:DropDownList>
      
      </td>
    </tr>       
              
                                           
     
     
       <tr>
       <th  >发布时间:
         </th>
       <td>
       <asp:TextBox ID="txt_createdate"   CssClass="form-control"  Width="390px" onClick="javascript:ShowCalendar(this)"   runat="server"></asp:TextBox> 
     
           <asp:RequiredFieldValidator ControlToValidate="txt_createdate" ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" Display="Dynamic"></asp:RequiredFieldValidator>
            </td>
    </tr>       
                
                                  
            
       <tr>
       <th  >通知简介:
         </th>
       <td>
<asp:TextBox id="Intro" width="650px" TextMode="Multiline" Columns="44" Rows="6" runat="server" />
      </td>
    </tr>                              
                                    
                                       
                    
       <tr>
       <th  >通知内容：
         </th>
       <td>
  <uc1:HtmlEdit runat="server" ID="detail" />
      </td>
    </tr>                              
         
            <tr style="display:none">
       <th>是否置顶：
         </th>
       <td>
     <asp:CheckBox ID="istop"  Text=""    runat="server" />
      </td>
    </tr>       
    
                                     
          <tr>
  <td colspan="2">
  
  <div class="btnc">
   <asp:Button id="updateButton" Text="更新" runat="server" CssClass="btn btn-primary"  OnClick="UpdateBtn_Click" />
                                        
     <asp:Button id="cancelButton" Text="取消" CausesValidation="False" runat="server" OnClick="CancelBtn_Click" CssClass="btn"  />
                                         
      <asp:Button id="deleteButton" Text="删除" CausesValidation="False" runat="server" OnClick="DeleteBtn_Click" CssClass="btn"  />

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


     </div>

</asp:Content>
