<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenuList.aspx.cs" Inherits="KstCMS.KstCMS_Manager.WebSet.WebMenu.MenuList" %>

<html>
<head  runat="server">
    <title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">



<asp:Panel ID="Panel1" runat="server" CssClass="MainBox">
<table class="PageTitle" width="98%"><tr><td><img src="<%=SysRootUrl %>/KstCMS_Manager/images/menu/system.gif" align="absmiddle" /> 导航管理</td></tr></table>
    <asp:ScriptManager ID="ScriptManager1" runat="server" AllowCustomErrorsRedirect="false">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    
<table width="98%" border="0" cellpadding="5" cellspacing="1" class="Table_Gray">
  <tr>
    <td  class="TableTd_Gray"  colspan="2"><input type="button" class="bigButton" value="新建导航" onclick="parent.document.getElementById('main').src='AddMenu.aspx';" /></td>
    <td  class="TableTd_Gray" align="right">
        <asp:DropDownList ID="drp_SiteId" runat="server" AutoPostBack="true">
        </asp:DropDownList>
    </td>
  </tr>
<asp:Repeater ID="repMain" runat="server">
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
  <tr class="TableTd_Gray">
      <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "MenuID")%>
    </td>
    <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "MenuName")%>
    </td>


    <td nowrap>
    <a href="MenuEdit.aspx?MenuId=<%#DataBinder.Eval(Container.DataItem,"MenuID") %>" target="main">设置</a> 
    <asp:Literal ID="litDel" runat="server"></asp:Literal>
    <asp:LinkButton ID="DelBtn" runat="server" CommandName=<%#DataBinder.Eval(Container.DataItem,"MenuId") %>  OnClientClick="return confirm('真的删除此站点吗？');">删除</asp:LinkButton> 
        <asp:Literal ID="lit_OpenUrl" runat="server"></asp:Literal>
    </td>
  </tr>
</ItemTemplate>
<AlternatingItemTemplate>
  <tr class="TableTd_Gray1">
       <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "MenuID")%>
    </td>
    <td nowrap>
     <%#DataBinder.Eval(Container.DataItem, "MenuName")%>
    </td>


    <td nowrap>
    <a href="MenuEdit.aspx?MenuId=<%#DataBinder.Eval(Container.DataItem,"MenuID") %>" target="main">设置</a> 
    <asp:Literal ID="litDel" runat="server"></asp:Literal>
    <asp:LinkButton ID="DelBtn" runat="server" CommandName=<%#DataBinder.Eval(Container.DataItem,"MenuId") %>  OnClientClick="return confirm('真的删除此站点吗？');">删除</asp:LinkButton> 
        <asp:Literal ID="lit_OpenUrl" runat="server"></asp:Literal>
    </td>
  </tr>
</AlternatingItemTemplate>
<FooterTemplate>

</FooterTemplate>
</asp:Repeater>
</table>
    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
    <ProgressTemplate>正在删除，请稍候...</ProgressTemplate>
    </asp:UpdateProgress>
</asp:Panel>
    </form>
</body>
</html>