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

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="ShopNum1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" 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%">
                <ShopNum1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="True"
                    EnableScriptLocalization="True" />
                <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>
                &nbsp;<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>
                <img id="imgStartTime" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                    align="absmiddle" />
                <ShopNum1:CalendarExtender ID="CalendarExtender3" runat="server" TargetControlID="textBoxStartTime"
                    PopupButtonID="imgStartTime" CssClass="ajax__calendar">
                </ShopNum1:CalendarExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorStartTime" runat="server" ControlToValidate="textBoxStartTime"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                &nbsp;
            </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>
                &nbsp;<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>
                <img id="imgEndTime" alt="" src="images/Calendar.png" style="width: 16px; height: 18px;"
                    align="absmiddle" />
                <ShopNum1:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="textEndTime"
                    PopupButtonID="imgEndTime" CssClass="ajax__calendar">
                </ShopNum1:CalendarExtender>
                <asp:RequiredFieldValidator ID="RequiredFieldValidatorEndTime" runat="server" ControlToValidate="textEndTime"
                    Display="Dynamic" ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
            </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>
