<%@ page language="C#" masterpagefile="~/Admin/MasterPage/Main.master" autoeventwireup="true" inherits="admin_Product_proXml, App_Web_u1mfhyty" title="无标题页" %>
<%@ Register Src="~/Admin/Controls/CurrTool_Panel.ascx" TagName="CurrTool" TagPrefix="html" %>
<%@ Register Src="~/Admin/Controls/CurrImage_Panel.ascx" TagName="CurrImage" TagPrefix="html" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"></asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <div class="divTools">
    <div class="tool-nav">
      <div class="title"> 导航栏</div>
      <%--<asp:HyperLink ID="hy_add" Text="[添加后台用户]" runat="server"/>  
            <asp:HyperLink ID="hy_list" Text="[后台用户列表]" runat="server"/> --%>
    </div>
    <div class="clear"> </div>
    <html:CurrTool ID="CurrTool1" Title="产品与新闻类别参数管理" Version="120402" runat="server"/>
    <html:CurrImage ID="CurrImage1" Title="修改产品与新闻类别参数" 
            Tips="在这里您可以修改产品与新闻类别参数。" runat="server" />
  </div>
  <div class="clear"> </div>
  <div class="divContent">
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
    <%--<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
      <ContentTemplate>--%>
        <div class="divth" style="margin-bottom:10px;">
            请选择商品类别或者新闻类别：<asp:DropDownList runat="server" ID="dropProClass" DataTextField="oneTitle" DataValueField="Uid" AutoPostBack="true" OnSelectedIndexChanged="dropProClass_SelectedIndexChanged"></asp:DropDownList>
        </div> 
        <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" CssClass="content-table tablep5"
                    CellPadding="0" GridLines="None" Width="100%" 
                    OnEditCommand="EditData" OnUpdateCommand="UpdateData" OnCancelCommand="CancelEdit"
                    OnItemDataBound="itemDb">
          <HeaderStyle CssClass="tableTitle" />
          <ItemStyle CssClass="BotDas" HorizontalAlign="Left" />
          <Columns>
          <asp:TemplateColumn HeaderText=" " ItemStyle-Width="2px">
            <ItemTemplate> &nbsp; </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="显示的名称">
            <ItemTemplate>
              <asp:Literal runat="server" ID="LitshowFile" Text='<%#DataBinder.Eval(Container.DataItem, "showFile")%>'></asp:Literal>
              <asp:TextBox runat="server" ID="txtshowFile" Text='<%#DataBinder.Eval(Container.DataItem, "showFile")%>' Visible="false"></asp:TextBox>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="是否显示">
            <ItemTemplate>
              <asp:Literal runat="server" ID="LitShow" Text='<%#DataBinder.Eval(Container.DataItem, "show")%>'></asp:Literal>
              <asp:DropDownList runat="server" ID="DropShow" Visible="false">
                <asp:ListItem Value="0">不显示</asp:ListItem>
                <asp:ListItem Value="1">显示</asp:ListItem>
              </asp:DropDownList>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:EditCommandColumn HeaderText="编辑" ItemStyle-Wrap="False" EditText="编辑" UpdateText="更新"
                            CancelText="取消" />
          <asp:TemplateColumn HeaderText="字段名称" ItemStyle-Width="70%">
            <ItemTemplate> <asp:Literal runat="server" ID="LitfileName" Text='<%#DataBinder.Eval(Container.DataItem, "fileName")%>'></asp:Literal> </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText="变量" ItemStyle-Width="2px" HeaderStyle-Width="2px" Visible="false">
            <ItemTemplate>
              <asp:Literal runat="server" Visible="false" ID="Uid" Text='<%#DataBinder.Eval(Container.DataItem,"FsId") %>'></asp:Literal>
            </ItemTemplate>
          </asp:TemplateColumn>
          <asp:TemplateColumn HeaderText=" " ItemStyle-Width="2px">
            <ItemTemplate> &nbsp; </ItemTemplate>
          </asp:TemplateColumn>
          </Columns>
        </asp:DataGrid>
      <%--</ContentTemplate>
    </asp:UpdatePanel>--%>
  </div>
</asp:Content>
