<%@ page language="C#" autoeventwireup="true" inherits="Admin_EmailBookType_Operate, ShopNum1Deploy" %>

<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
     <link type="text/css" rel="Stylesheet" href="css/index.css" />
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
     
           <div class="navigator"><asp:Label ID="LabelPageTitle" runat="server" 
                   Font-Bold="True" Text="【 新增邮件订阅类型 】"></asp:Label></div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
            <tr><td colspan="2"></td></tr>
            <tr>
                <td align="right" width="20%">
                    <asp:Label ID="LabelName" runat="server" Text="订阅类型名称："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxName" runat="server" Width="200"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorName" 
                            runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorName" 
                        runat="server" ControlToValidate="TextBoxName" Display="Dynamic" 
                        ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    <asp:Label ID="LabelDescription" runat="server" Text="类型描述："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxDescription" runat="server" TextMode="MultiLine" Width="440" Height="60"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorDescription" 
                        runat="server" ControlToValidate="TextBoxDescription" Display="Dynamic" 
                        ErrorMessage="描述最多150个字符" ValidationExpression="^[\s\S]{0,150}$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right" >
    
                    &nbsp;</td>
                <td align="left" >
                    &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;">
             <td align="right" >
    
                 &nbsp;</td>
                <td align="left" >
                     <div style="width:100%;">
        <asp:Button ID="ButtonConfirm" runat="server" onclick="ButtonConfirm_Click" Text="确定" 
            ToolTip="Submit" CssClass="bt2" />
                         <input ID="inputReset" runat="server"  type="reset" value="重置"  class="bt2"/>
                         <a href="EmailBookType_List.aspx"><img src="images/back.png" border="0" align="top" /></a>
                         
                         <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
    
                     </div>
                </td>  
            </tr>
        </table>
   
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
