<%@ Control Language="C#"  %>
<div class="MemberAll">
<div class="MemberTitle">发送消息</div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
            <tr>
                <td align="right" style="width:40%;">
                    <asp:Label ID="LabelTitle" runat="server" Text="消息标题："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxTitle" runat="server" Width="150"></asp:TextBox>
                            <asp:Label ID="Label6" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTitle" 
                            runat="server" ControlToValidate="TextBoxTitle" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTitle" 
                        runat="server" ControlToValidate="TextBoxTitle" Display="Dynamic" 
                        ErrorMessage="只能输入50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    <asp:Label ID="LabelType" runat="server" Text="消息类型："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                     <asp:DropDownList ID="DropDownListType" runat="server" Width="156px">
             </asp:DropDownList>
                            <asp:Label ID="Label7" runat="server" Text="*" ForeColor="red"></asp:Label>
                    <asp:CompareValidator ID="CompareValidatorTypeName" runat="server" 
                            ControlToValidate="DropDownListType" Display="Dynamic" ErrorMessage="该值必需选择" 
                            Operator="NotEqual" ValueToCompare="-1"></asp:CompareValidator>
                        </td>
            </tr>
            <tr>
                <td align="right" style="width:40%;">
                    <asp:Label ID="LabelContent" runat="server" Text="消息内容："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxContent" runat="server" Height="69px" 
                        TextMode="MultiLine" Width="80%"></asp:TextBox>
                            <asp:Label ID="Label8" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorContent" 
                            runat="server" ControlToValidate="TextBoxContent" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        </td>
            </tr>
            <tr>
             <td align="right"style="width:40%;background-color:#EEEEEE;" >
    
                 &nbsp;</td>
                <td align="left" style="width:60%;background-color:#EEEEEE;">
                     <div style="width:60%;margin:4px;">
        <asp:Button ID="ButtonConfirm" runat="server"  Text="确定" 
            CssClass="Button1"  ToolTip="Submit"  />
         <input ID="inputReset" runat="server"  type="reset" value="重置" class="Button1"  /></div>
                </td>  
            </tr>
        </table>
    </div>
 <asp:HiddenField ID="hiddenGuid" runat="server" Value="0" />