<%--
// 文件名称: Product_MultiEditProduct_List.cs
// 类 名 称: Product_MultiEditProduct_List
// 修改标识: Modify By 钟治宇 2008-11-19    post提交　
--%>
<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Product_MultiEditProduct_List, V5Shop.Shop.Payment" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />
    <link href="js/calendar-system.css" rel="stylesheet" type="text/css" />

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

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

    <script type="text/javascript" language="javascript" src="Js/Calendar-zh.js"></script>

    <script type="text/javascript" language="javascript" src="Js/Calendar-Setup.js"></script>

</head>
<body>
<%--    2008-11-19   --%>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【 商品批量编辑 】"></asp:Label>&nbsp; <a href="Product_Product_Manage.aspx"
                    title="返回商品列表">返回商品列表</a>
            </div>
        </div>
        <div>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblSelectType" runat="server" Text="商品选择方式："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px" colspan="3">
                        <asp:RadioButtonList ID="rblSelectType" runat="server" CssClass="radioaspx" RepeatDirection="Horizontal" AutoPostBack="True" OnSelectedIndexChanged="rblSelectType_SelectedIndexChanged">
                        </asp:RadioButtonList></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr id="trCategory" runat="server">
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <asp:Label ID="lblCategory" runat="server" Text="商品分类："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:DropDownList ID="ddlCategory" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlCategory_SelectedIndexChanged" Width="150px">
                        </asp:DropDownList></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr id="trBrand" runat="server">
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <asp:Label ID="lblBrand" runat="server" Text="商品品牌："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:DropDownList ID="ddlBrand" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlBrand_SelectedIndexChanged" Width="150px">
                        </asp:DropDownList></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr id="trProductList" runat="server">
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblProductList" runat="server" Text="商品列表："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="width: 199px">
                        <asp:Label ID="lblNonSelectProduct" runat="server" Text="待选商品"></asp:Label><br />
                        <asp:ListBox ID="lbNonSelectProduct" runat="server" Height="200px" Width="300px" SelectionMode="Multiple"></asp:ListBox><span
                            class="NeedMsg"></span></td>
                    <td align="center" bgcolor="#ffffff" style="width: 197px; height: 30px">
                        <asp:Button ID="btnAdd" runat="server" CssClass="button" Text="添加>>" OnClick="btnAdd_Click" CausesValidation="False" /><br />
                        <br />
                        <asp:Button ID="btnDel" runat="server" CssClass="button" Text="<<移除" OnClick="btnDel_Click" CausesValidation="False" /></td>
                    <td align="left" bgcolor="#ffffff" style="width: 889px; height: 30px">
                          <asp:Label ID="lblSelectProduct" runat="server" Text="已选商品"></asp:Label><br />
                        <asp:ListBox ID="lbSelectProduct" runat="server" Height="200px" Width="300px" SelectionMode="Multiple"></asp:ListBox></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr id="trNumber" runat="server" visible="false">
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        &nbsp;<asp:Label ID="lblNumber" runat="server" Text="商品编号："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:TextBox ID="txtNumber" runat="server" Height="120px" TextMode="MultiLine" Width="300px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNumber"
                            ErrorMessage="不能为空"></asp:RequiredFieldValidator></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <cc1:HelpCtrl ID="HelpCtrl1" runat="server" FontColor="red" Header="商品属性" ImageURL="images/help.gif"
                            Text="要编辑的商品属性。注意：此项不包括商品详细属性。" HideSelects="true" />
                        <asp:Label ID="lblAttribute" runat="server" Text="商品属性："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:ListBox ID="lbAttribute" runat="server" Height="200px" Width="300px" SelectionMode="Multiple"></asp:ListBox>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="lbAttribute"
                            Display="Dynamic" ErrorMessage="请选择商品属性！"></asp:RequiredFieldValidator></td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <cc1:HelpCtrl ID="HelpCtrl2" runat="server" FontColor="red" Header="编辑方式：" ImageURL="images/help.gif"
                            Text="统一编辑：根据选择的属性进行同意编辑，适合对用一些具有共同属性的商品。如：品牌、分类等。逐一编辑：逐一编辑选择的商品属性，适合针对不同类，属性各不相同的商品。" HideSelects="true" />
                        <asp:Label ID="lblEditType" runat="server" Text="编辑方式："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:RadioButtonList ID="rblEditType" runat="server" RepeatDirection="Horizontal" CssClass="radioaspx">
                        </asp:RadioButtonList>
                    </td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px; height: 30px">
                    </td>
                </tr>
                <tr>
                    <td height="30" align="right" bgcolor="#FFFFFF" style="width: 20%">
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="width: 199px">
                        <asp:Button ID="btnConfirm" runat="server" Text="确定" CssClass="button" OnClick="btnConfirm_Click" />
                        <input id="Button1" runat="server" type="button" value="返回列表" onclick="window.location.href='Product_Product_Manage.aspx'"
                            class="button" />
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 197px">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 889px">
                    </td>
                    <td align="left" bgcolor="#ffffff">
                    </td>
                    <td align="left" bgcolor="#ffffff" style="width: 5px">
                    </td>
                </tr>
            </table>

            <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
            </script>

        </div>
        <uc1:PageBottom ID="PageBottom1" runat="server" />
    </form>
</body>
</html>
