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

<%@ Register assembly="ShopNum1.Control" namespace="ShopNum1.Control" tagprefix="cc1" %>

<%--<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc2" %>--%>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ShopNum1" %>
<%@ Register src="UserControl/MessageShow.ascx" tagname="MessageShow" tagprefix="ShopNum1" %>

<!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" /> 
     <link href="../css/Calendar.css" rel="stylesheet" type="text/css">
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;font-size:12px">
    <form id="form1" runat="server">
    <div class="navigator"><asp:Label ID="LabelPageTitle" runat="server" Text="【 新增商城调查 】"></asp:Label></div>
   
      <table style="width:100%">
            <tr>
                <td align="right" width="20%" >
                        <asp:Label ID="LabelTitle" runat="server" Text="调查主题："></asp:Label>
                        </td>
                <td align="left" >
                        <asp:TextBox ID="textBoxTitle" runat="server" Width="300"></asp:TextBox>
                            <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" >
                        <asp:Label ID="LabelStartTime" runat="server" Text="开始日期："></asp:Label>
                        </td>
                <td align="left" >
                    <asp:TextBox ID="textBoxStartTime" runat="server"  Width="300"></asp:TextBox>
                           <img id="imgCalendarStartTime" alt="" src="../images/Calendar.png" 
                                    style="width: 16px; height: 18px;" />
                            <asp:RegularExpressionValidator ID="RegularExpressionValidatorStartTime" 
                            runat="server" ControlToValidate="textBoxStartTime" Display="Dynamic" 
                            ErrorMessage="时间格式不正确" 
                            
                            ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorStartTime" 
                            runat="server" ControlToValidate="textBoxStartTime" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                            <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" 
                                        EnableScriptGlobalization="True" EnableScriptLocalization="True">
                            </ShopNum1:ToolkitScriptManager>
                            &nbsp;<ShopNum1:CalendarExtender 
                                      ID="CalendarExtender1" runat="server" TargetControlID="textBoxStartTime" 
                                      PopupButtonID="imgCalendarStartTime" CssClass="ajax__calendar">
                            </ShopNum1:CalendarExtender>


                </td>
            </tr>
            <tr>
                <td align="right" >
                        <asp:Label ID="LabelEndTime" runat="server" Text="截止日期："></asp:Label>
                        </td>
                <td align="left" >
                        <asp:TextBox ID="textEndTime" runat="server"  Width="300"></asp:TextBox>
                             <img id="imgCalendarEndTime" alt="" src="../images/Calendar.png" 
                                      style="width: 16px; height: 18px;" />
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorEndTime" 
                            runat="server" ControlToValidate="textEndTime" Display="Dynamic" 
                            ErrorMessage="时间格式不正确" 
                            
                            ValidationExpression="^\d{4}-(\d{2}|\d{1})-(\d{2}|\d{1})( (\d{2}|\d{1}):(\d{2}|\d{1}):(\d{2}|\d{1}))*"></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorEndTime" 
                            runat="server" ControlToValidate="textEndTime" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <ShopNum1:CalendarExtender 
                                     ID="CalendarExtender2" runat="server" TargetControlID="textEndTime" 
                         PopupButtonID="imgCalendarEndTime" CssClass="ajax__calendar">
                        </ShopNum1:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right" >
                        <asp:Label ID="Label4" runat="server" Text="能否多选："></asp:Label>
                </td>
                <td align="left" >
                       <asp:RadioButtonList ID="radioButtonCheck" runat="server" 
                            ForeColor="Black" RepeatDirection="Horizontal" 
            Width="98px" Height="26px">
                            <asp:ListItem Value="0">能</asp:ListItem>
                            <asp:ListItem Value="1">不能</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
            </tr>
            <tr style="background-color:#e1e1e1">
                <td align="right" >
                    &nbsp;</td>
                <td align="left" >
                        <asp:Button ID="ButtonConfirm" runat="server" Text="确定" 
                            onclick="btnConfirm_Click" CssClass="bt2" />
                        <input id="inputReset" type="reset" value="重置" 
                            onclick="return btnReset_onclick()"  class="bt2" />
                            <a href="SurveyTheme_Manage.aspx"><img src="images/back.png" border="0" align="top" /></a>
                            <ShopNum1:MessageShow ID="MessageShow" runat="server" Visible="False" />
    
                </td>
            </tr>
            </table>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
 
   
</form>
</body>
</html>
