<%@ page language="C#" autoeventwireup="true" inherits="Admin_BasePriceAuction_Operate, ShopNum1Deploy" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ShopNum1" %>
<%@ 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 id="Head1" runat="server">
<link type="text/css" rel="Stylesheet" href="css/index.css" /> 
    <title>Untitled Page</title>
</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" 
                 Text="【 新增低价拍卖  】"></asp:Label>
         </div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">
        <tr><td></td><td></td></tr>
       
            <tr>
                <td align="right" style="width:20%;">
                    <asp:Label ID="LabelProductGuid" runat="server" Text="活动商品："></asp:Label>
                </td>
                <td align="left" >
                   
                    <font class="font1"><asp:Label ID="LabelProductGuidValue" runat="server"></asp:Label></font>
                    
                </td>
            </tr>
            <tr>
                <td align="right" style="width:20%;">
                    <asp:Label ID="LabelName" runat="server" Text="低拍活动名称："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxName" runat="server" Width="300"></asp:TextBox>
                    <font color="red">
                            <asp:Label ID="Label1" runat="server" Text="*"></asp:Label>
                            </font>
                            <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"style="width:20%;" >
    
                    <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"style="width:20%;" >
    
                    <asp:Label ID="LabelEndTime" runat="server" Text="活动结束时间："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxEndTime" runat="server" Width="300"></asp:TextBox>
                    <img id="imgCalendarEndTime" alt="" src="../images/Calendar.png" 
                                    style="width: 16px; height: 18px;" />                                       
                            <font color="red">
                            <asp:Label ID="Label2" runat="server" Text="*"></asp:Label>
                            </font>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorEndTime" 
                            runat="server" ControlToValidate="TextBoxEndTime" 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="TextBoxEndTime" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <ShopNum1:CalendarExtender 
                                     ID="CalendarExtender2" runat="server" TargetControlID="TextBoxEndTime" 
                         PopupButtonID="imgCalendarEndTime" CssClass="ajax__calendar">
                        </ShopNum1:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td align="right"style="width:20%;" >
    
                    <asp:Label ID="LabelLowerPrice" runat="server" Text="价格下限："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxLowerPrice" runat="server" Width="300"></asp:TextBox>
                              <font color="red">
                            <asp:Label ID="Label3" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark2" 
                            runat="server" ControlToValidate="TextBoxLowerPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorLowerPrice" 
                            runat="server" ControlToValidate="TextBoxLowerPrice" Display="Dynamic" 
                            ErrorMessage="输入格式不正确" 
                            
                            ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
                    <tr>
                <td align="right"style="width:20%;" >
    
                    <asp:Label ID="LabelUpperPrice" runat="server" Text="价格上限："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxUpperPrice" runat="server" Width="300"></asp:TextBox>
                              <font color="red">
                            <asp:Label ID="Label4" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark3" 
                            runat="server" ControlToValidate="TextBoxUpperPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorMostPrice" 
                            runat="server" ControlToValidate="TextBoxUpperPrice" Display="Dynamic" 
                            ErrorMessage="输入格式不正确" 
                            
                            ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
                    </tr>
            <tr>
                <td align="right"style="width:20%;" >
    
                    <asp:Label ID="LabelMostPrice" runat="server" Text="最多需支付的价格："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxMostPrice" runat="server" Width="300"></asp:TextBox>
                              <font color="red">
                            <asp:Label ID="Label5" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark4" 
                            runat="server" ControlToValidate="TextBoxMostPrice" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorMostPrice0" 
                            runat="server" ControlToValidate="TextBoxMostPrice" Display="Dynamic" 
                            ErrorMessage="输入格式不正确" 
                            
                            ValidationExpression="^[0-9]+(.[0-9]{1,3})?$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right"style="width:20%;" >
    
                    <asp:Label ID="LabelConsumeScore" runat="server" Text="消耗积分："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxConsumeScore" runat="server" Width="300"></asp:TextBox>
                              <font color="red">
                            <asp:Label ID="Label6" runat="server" Text="*"></asp:Label>
                            </font>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorRemark5" 
                            runat="server" ControlToValidate="TextBoxConsumeScore" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidatorConsumeScore" 
                            runat="server" ControlToValidate="TextBoxConsumeScore" Display="Dynamic" 
                            ErrorMessage="只能输入数字" 
                            
                            ValidationExpression="^[0-9]*$"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right"style="width:20%;" >
    
                    <asp:Label ID="LabelMemo" runat="server" Text="活动描述："></asp:Label>
                </td>
                <td align="left" >
                    <asp:TextBox ID="TextBoxMemo" runat="server" Height="60px" 
                        TextMode="MultiLine" Width="440px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right"style="width:20%;" >
    
                    &nbsp;</td>
                <td align="left" >
  &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;">
             <td align="right"style="width:20%;" >
                 &nbsp;</td>
                <td align="left" >
                     <div style="width:100%;">
        <asp:Button ID="ButtonConfirm" runat="server" onclick="ButtonConfirm_Click" Text="确定" 
            Width="59px" ToolTip="Submit" CssClass="bt2" />
                         <input ID="inputReset" runat="server"  type="reset" value="重置" class="bt2" />
                         <a href="Product_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="hiddenGuid" runat="server" Value="0" />
            <asp:HiddenField ID="HiddenFieldProductGuid" runat="server" />
    </form>
</body>
</html>