<%@ control language="C#" autoeventwireup="true" inherits="ECMe_WebUserControl_Product_Parameter, ECMe_Deploy" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:UpdatePanel ID="UpdatePanelParemeter" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td class="all">
                    <div class="title_1">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <asp:Repeater ID="RepeaterTable" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
                                        <ItemTemplate>
                                            <span class="Fast_group">
                                                <div class="del">
                                                    <asp:ImageButton ID="IDeleteItem" OnClientClick="return confirm('你真的要删除?');" CommandName="Delete"
                                                        CommandArgument='<%# Eval("File") %>' ImageUrl="~/ECMe/CSS/Admin/images/web_del_on.gif"
                                                        runat="server" CausesValidation="false" />
                                                </div>
                                                <div class="fast_txte">
                                                    <asp:LinkButton ID="LSelectItem" CommandArgument='<%# Eval("File") %>' CssClass="blue"
                                                        runat="server" CausesValidation="false"> <%# Eval("Name") %></asp:LinkButton>
                                                </div>
                                            </span>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                    <a href="AddProductParameter.aspx" class="top_but">增加参数组</a> </a>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="Fast_group_all">
                        <div class="Fast_group_labe">
                            <h3>
                                <span class="titleleft_span">参数不够？您可以<asp:LinkButton ID="LAddParameterItem" runat="server"
                                    CssClass="blue" CausesValidation="false" OnClick="LAddParameterItem_Click">添加一个新的参数</asp:LinkButton></span><span
                                        class="titleright_span"><asp:ImageButton ID="IDeleteItem" CausesValidation="false"
                                            ImageUrl="~/ECMe/CSS/Admin/images/del.gif" Width="20px" Height="20px" runat="server"
                                            OnClick="IDeleteItem_Click" />
                                    </span>
                            </h3>
                        </div>
                        <div class="Fast_group_labe">
                            <table border="0" cellspacing="0" cellpadding="0" class="Fast_group_table">
                                <tr>
                                    <th style="width: 180px">
                                        参数名
                                    </th>
                                    <th>
                                        参数值
                                    </th>
                                    <th style="width: 80px">
                                        相关操作
                                    </th>
                                </tr>
                                <asp:Repeater ID="RepeaterItems" runat="server" OnItemCommand="RepeaterItems_ItemCommand">
                                    <ItemTemplate>
                                        <tr>
                                            <td>
                                                <asp:TextBox ID="TName" CssClass="input_1" Width="170px" Text=' <%# Eval("ParameterName") %>'
                                                    runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:TextBox ID="TValue" CssClass="input_1" Width="170px" Text=' <%# Eval("ParameterValue") %>'
                                                    runat="server"></asp:TextBox>
                                            </td>
                                            <td>
                                                <asp:ImageButton ID="IDeleteValue" CausesValidation="false" ImageUrl="~/ECMe/CSS/Admin/images/class.png"
                                                    ToolTip="删除" runat="server" />
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
