<%@ Page Title="发送消息" Theme="AdminSkin" Language="C#" MasterPageFile="~/Others/AdminMasterPage.Master" AutoEventWireup="true" CodeBehind="SendMessageEdit.aspx.cs" Inherits="Web.Admin.Contents.Message.SendMessageEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="AdminContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="AdminContentCenter" runat="server">
       <form id="form1" runat="server">
        <div class="formtextfield">
            <div class="title">
                <h4><span>公告编辑</span></h4>
            </div>
            <div class="content">
                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                        <td class="fieldname">接收:
                        </td>
                        <td class="fieldvalue">
                            
                            <asp:DropDownList ID="ddlType" runat="server">
                                <asp:ListItem Value="11">群发消息</asp:ListItem>
                                <asp:ListItem Value="10">公告</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td class="fielddescription">群发 发向所有用户；公告 向所有浏览者弹出窗口</td>
                    </tr>
                    <tr>
                        <td class="fieldname">发送内容:
                        </td>
                        <td class="fieldvalue">
                            <asp:TextBox ID="MessageContent" runat="server" TextMode="MultiLine" Height="100" MaxLength="1000" CssClass="textarea">

                            </asp:TextBox>
                           <asp:CustomValidator ControlToValidate="MessageContent" ClientValidationFunction="Validator.NonEmpty" ErrorMessage="不能为空" ValidateEmptyText="true" CssClass="fielderror"  runat="server"></asp:CustomValidator>
                        </td>
                        <td class="fielddescription">不能为空,最大发送1000个字符</td>
                    </tr>
                </table>
            </div>
            <table width="100%" border="0" cellpadding="2" cellspacing="1">
                <tr>
                    <td colspan="2" align="center">
                        <asp:Button ID="btnSave" runat="server" Text="发送" OnClick="btnSave_Click" SkinID="ButtonSave"/>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancel" runat="server" Text="取消" SkinID="ButtonCancel" CausesValidation="false" OnClick="Cancel_Click"/>
                    </td>
                </tr>
            </table>
        </div>
    </form> 
</asp:Content>
