<%@ page title="" language="C#" masterpagefile="../../../Common/MasterPage.master" autoeventwireup="true" inherits="Admin_Modules_Menu_Groups_Default, App_Web_kvuq1atl" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="../../../images/site.css" rel="stylesheet" type="text/css" /> 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="body" Runat="Server">
  <asp:Label runat="server" ID="lbl_result" Visible="false" ForeColor="Red" Font-Bold="true"></asp:Label>
  <asp:DataGrid runat="server" ID="grid_PageList" PageSize="25" AllowPaging="true" Width="97%" AutoGenerateColumns="false" Caption="菜单组列表" CaptionAlign="Left">
    <Columns>
      <asp:BoundColumn DataField="ID" HeaderText="ID" />
      <asp:HyperLinkColumn DataTextField="Name" DataNavigateUrlField="ID" DataNavigateUrlFormatString="Detail.Aspx?ID={0}" HeaderText="名称" />
      <asp:BoundColumn DataField="Sign" HeaderText="标识" />
     
      <asp:TemplateColumn>
      <HeaderTemplate>可用操作</HeaderTemplate>
      <ItemTemplate>
       <a href="Detail.Aspx?ID=<%# DataBinder.Eval(Container.DataItem,"ID") %>" onclick="return confirm('确认编辑分组：<%# DataBinder.Eval(Container.DataItem,"Name") %>')">编辑</a>
       <a href="Default.Aspx?Action=DelItem&ID=<%# DataBinder.Eval(Container.DataItem,"ID") %>" onclick="return confirm('确认删除分组：<%# DataBinder.Eval(Container.DataItem,"Name") %>')">删除</a>
       </ItemTemplate>
      </asp:TemplateColumn>
    </Columns>
  </asp:DataGrid>
</asp:Content>

