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

<!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" /> 
    <style type="text/css">
        .style1
        {
            width: 40%;
            height: 22px;
        }
        .style2
        {
            width: 60%;
            height: 22px;
        }
    </style>
</head>
<body style="padding:0; background-image: url(images/Bg_right.gif); background-repeat:repeat;">
    <form id="form1" runat="server">
        <div class="navigator">【 填写收货人信息 】</div>
        <table cellpadding="0" cellspacing="0" border="0" style="width:100%">

            <tr style="display:<%=(showDropDownListSelect)?"":"none"%>">
                <td align="right" class="style1">
                    <asp:Label ID="LabelSelect" runat="server" Text="从已有收货地址中选择："></asp:Label>
                </td>
                <td align="left" class="style2">
                    <asp:DropDownList ID="DropDownListSelect" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="DropDownListSelect_SelectedIndexChanged" CssClass="select2">
                    </asp:DropDownList>
                        </td>
            </tr>
            <tr>
                <td align="right" style="width:40%;">
                    <asp:Label ID="LabelName" runat="server" Text="收货人姓名："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxName" runat="server" CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label1" runat="server" Text="*" ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTitle" 
                            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:40%;">
                    <asp:Label ID="LabelEmail" runat="server" Text="电子邮件："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxEmail" runat="server" CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label2" runat="server" Text="*"  ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorEmail" 
                            runat="server" ControlToValidate="TextBoxEmail" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorEmail" 
                        runat="server" ControlToValidate="TextBoxEmail" Display="Dynamic" 
                        ErrorMessage="电子邮件最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                         <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                            ControlToValidate="TextBoxEmail" Display="Dynamic" ErrorMessage="邮箱格式不正确！" 
                            ValidationExpression="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"></asp:RegularExpressionValidator>  
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    <asp:Label ID="LabelAddress" runat="server" Text="详细地址："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxAddress" runat="server" CssClass="input2"></asp:TextBox>
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    <asp:Label ID="LabelPostalcode" runat="server" Text="邮政编码："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxPostalcode" runat="server" CssClass="input2"></asp:TextBox>
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    <asp:Label ID="LabelTel" runat="server" Text="电话号码："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxTel" runat="server" CssClass="input2"></asp:TextBox>
                            <asp:Label ID="Label3" runat="server" Text="*"  ForeColor="red"></asp:Label>
                            <asp:RequiredFieldValidator ID="RequiredFieldValidatorTel" 
                            runat="server" ControlToValidate="TextBoxTel" Display="Dynamic" 
                            ErrorMessage="该值不能为空"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidatorTel" 
                        runat="server" ControlToValidate="TextBoxTel" Display="Dynamic" 
                        ErrorMessage="标题最多50个字符" ValidationExpression="^[\s\S]{0,50}$"></asp:RegularExpressionValidator>
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    <asp:Label ID="LabelMobile" runat="server" Text="手机号码："></asp:Label>
                </td>
                <td align="left" style="width:60%;">
                    <asp:TextBox ID="TextBoxMobile" runat="server" CssClass="input2"></asp:TextBox>
                        </td>
            </tr>
            <tr>
                <td align="right"style="width:40%;" >
    
                    &nbsp;</td>
                <td align="left" style="width:60%;">
                    &nbsp;</td>
            </tr>
            <tr style="background-color:#EEEEEE;">
             <td align="right"style="width:40%;" >
    
                 &nbsp;</td>
                <td align="left" style="width:60%;">
                  
                     <div class="vote">
           <asp:Button ID="ButtonLast" runat="server" Text="上一步" 
              onclick="ButtonLast_Click" CssClass="bt3" CausesValidation="False"/>
    
        &nbsp;<asp:Button ID="ButtonNext" runat="server" Text="下一步" 
             onclick="ButtonNext_Click" CssClass="bt3"/>
    
        &nbsp;<asp:Button ID="ButtonCancel" runat="server" Text="取消" onclick="ButtonCancel_Click" 
                             CssClass="bt3" CausesValidation="False"/>
                     &nbsp;<asp:Button ID="ButtonEditConfirm" runat="server" 
                             onclick="ButtonEditConfirm_Click" Text="确定" Visible="False"  CssClass="bt3"/>
&nbsp;<asp:Button ID="ButtonCancelEdit" runat="server" onclick="ButtonCancelEdit_Click" Text="取消编辑" 
                             Visible="False" CssClass="bt3"/>
                             </div>
                     
                </td>  
            </tr>
        </table>
    
    <asp:HiddenField ID="hiddenFieldMemloginID" runat="server" Value="0" />
        <asp:HiddenField ID="HiddenFieldShowDropDownListSelect" runat="server" 
            Value="fale" />
    </form>
</body>
</html>
