<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OrdersMerge.aspx.cs" Inherits="TopWinCMS.WebUI.Admin.Shop.OrdersMerge" %>

<%@ Register src="../UC_AjaxLoading.ascx" tagname="UC_AjaxLoading" 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>订单合并</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Pragma" content="no-cache" />

    <script language="javascript" type="text/javascript" src="../TopWin.js"></script>

    <link rel="stylesheet" type="text/css" href="../Style.css" />

    <script language="javascript" type="text/javascript" src="../../Images/skysoft.js"></script>

</head>
<body>
    <form id="form1" runat="server">
  <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>  
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
            <uc1:UC_AjaxLoading ID="UC_AjaxLoading1" runat="server" />
        </ProgressTemplate>
    </asp:UpdateProgress>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    <table style="width: 98%;" border="0" cellpadding="4" cellspacing="0" id="NavigationPath">
        <tr>
            <td style="width: auto">
                &nbsp;<img src='../../Images/arrow.gif' alt="" />
                您现在的位置：<asp:Label ID="LB_Path" runat="server"></asp:Label>
            </td>
            <td style="width: auto; text-align: right">
                
            </td>
        </tr>
    </table>
    <table style="width: 100%;" class="TabelGrid">
        <tr>
            <td class="RowTitle">
                用户名：</td>
            <td> 
                <asp:TextBox ID="TB_Key" runat="server"></asp:TextBox>
                &nbsp;
                <asp:Button ID="BT_SearchMember" runat="server" Text="搜索" CssClass="btn" 
                    onclick="BT_SearchMember_Click" ValidationGroup="Search" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TB_Key" ErrorMessage="请输入" ValidationGroup="Search"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="RowTitle">
                选择用户：</td>
            <td> 
                <asp:DropDownList ID="DDL_Member" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="DDL_Member_SelectedIndexChanged">
                    <asp:ListItem>&lt;请选择&gt;</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="RowTitle">
                主订单：</td>
            <td> 
                <asp:DropDownList ID="DDL_OrdersZ" runat="server">
                    <asp:ListItem>&lt;请选择&gt;</asp:ListItem>
                </asp:DropDownList>
                <asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToValidate="DDL_OrdersZ" ErrorMessage="不能选取相同的订单" 
                    ControlToCompare="DDL_OrdersC" Operator="NotEqual"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="RowTitle">
                从订单：</td>
            <td>
                <asp:DropDownList ID="DDL_OrdersC" runat="server">
                    <asp:ListItem>&lt;请选择&gt;</asp:ListItem>
                </asp:DropDownList>
                <asp:CompareValidator ID="CompareValidator2" runat="server" 
                    ControlToCompare="DDL_OrdersZ" ErrorMessage="不能选取相同的订单" 
                    ControlToValidate="DDL_OrdersC" Operator="NotEqual"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td class="RowTitle">
                说明：</td>
            <td>
                只显示状态一样的订单</td>
        </tr>
    </table>
    <div style="margin-left:auto; margin-right:auto; width:600px; text-align:center; margin-top:50px;">
        <asp:Button ID="BT_OK" runat="server" Text="确定" CssClass="btn" 
            onclick="BT_OK_Click" onclientclick="return confirm('注意，合并后将不可恢复！');" />
    </div>
    </ContentTemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
