<%@ Page Language="C#" MasterPageFile="~/Portal/default.Master" AutoEventWireup="true" CodeBehind="Msg_New.aspx.cs" Inherits="Portal.Portal.Msg_New" %>
<%@ Register src="../UserControls/HtmlEdit2.ascx" tagname="HtmlEdit2" tagprefix="uc1" %>
 
 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    
    
             


 <div class="list" style="line-height:15px">


      
     

    <div class="form-group">
    <label class="col-sm-2 control-label">留言类别 
    </label>
      <div class="col-sm-10" style="margin-top:-5px">
          <asp:RadioButtonList runat="server" ID="lytype"  RepeatDirection="Horizontal"  Width="80%" RepeatColumns="3"></asp:RadioButtonList>
       </div>
   </div>

     <br /><br /> <br /> 


      <div class="form-group">
    <label class="col-sm-2 control-label">留言标题 
    </label>
      <div class="col-sm-10">
         <asp:TextBox ID="title" runat="server"   CssClass="form-control" Width="600px" ></asp:TextBox>
          <asp:RequiredFieldValidator   Display="Dynamic" ControlToValidate="title" ForeColor="Red" ID="RequiredFieldValidator1" runat="server" ErrorMessage="必须填写主题"></asp:RequiredFieldValidator>
       </div>
   </div>

       <br /><br /> 


     
   
    <div class="form-group">
    <label class="col-sm-2 control-label">联系姓名 
    </label>
      <div class="col-sm-10">
         <asp:TextBox ID="username" runat="server" CssClass="form-control" Width="300px" ></asp:TextBox>
       </div>
   </div>

       <br /><br /> 

         
    <div class="form-group">
    <label class="col-sm-2 control-label">联系电话 
    </label>
      <div class="col-sm-10">
         <asp:TextBox ID="tel" runat="server"  CssClass="form-control" Width="300px" ></asp:TextBox>
       </div>
   </div>

       <br /><br /> 



         
    <div class="form-group">
    <label class="col-sm-2 control-label">联系邮件 
    </label>
      <div class="col-sm-10">
         <asp:TextBox ID="email" runat="server"  CssClass="form-control" Width="500px" ></asp:TextBox>
       </div>
   </div>

       <br /><br /> 



         










<uc1:HtmlEdit2 ID="HtmlEdit1" Width="800" Height="300" runat="server" />







     </div>

      <div  style="padding-left:300px; margin-bottom:50px">

           <asp:Button ID="btSubmit"  CssClass="btn btn-primary btn-flat  " runat="server" Text="提交" OnClick="btSubmit_Click" />

           <a href="default.aspx?tabid=<%=_tabid %>&msgcatid=<%=_msgcatid%>" class="btn btn-default btn-flat " >返回</a>

          </div>
     
          

    
</asp:Content>