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

<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:Panel runat="server" ID="pan_message" Visible="false">
  <asp:Label runat="server" ID="lbl_message" ForeColor="Red"></asp:Label>
</asp:Panel>
<asp:Panel runat="server" ID="pan_redirect" Visible="false">

  <script language="javascript" type="text/javascript">
      alert("已成功添加菜单！");
      window.location.href = "<% Response.Write(link); %>";
  </script>
</asp:Panel>
<asp:Panel runat="server" ID="pan_editor">
<table width="98%" border="0" cellspacing="1">
  <tr><th colspan="2">添加菜单</th></tr>
  <tr><td>标题</td><td><asp:TextBox runat="server" ID="txt_Title" Width="200"></asp:TextBox></td></tr>
  <tr><td>所属分组</td><td><asp:DropDownList runat="server" ID="ddl_GroupID" DataTextField="Name" DataValueField="ID"></asp:DropDownList> </td></tr>
  <tr><td>上级菜单</td><td><asp:DropDownList runat="server" ID="ddl_ParentID" DataTextField="Title" DataValueField="ID" Enabled="false"></asp:DropDownList> </td></tr>
  <tr><td>排序</td><td><asp:TextBox runat="server" ID="txt_Position" Width="80"></asp:TextBox></td></tr>
  <tr><td>目标窗口</td><td><asp:TextBox runat="server" ID="txt_Target" Text="_blank" Width="80"></asp:TextBox></td></tr>
  <tr><td>样式ID</td><td><asp:TextBox runat="server" ID="txt_LinkID" Width="80"></asp:TextBox></td></tr>
  <tr><td>样式Class</td><td><asp:TextBox runat="server" ID="txt_LinkClass" Width="100"></asp:TextBox></td></tr>
  <tr><td>链接地址</td><td><asp:TextBox runat="server" ID="txt_Url" Width="250"></asp:TextBox></td></tr>
  <tr><td colspan="2"><asp:Button runat="server" ID="btn_Submit" Text="提交" /><asp:Button runat="server" ID="btn_Cancel" Text="取消" OnClientClick="javascript:this.parent.reset();" /></td></tr>
</table>
</asp:Panel>
</asp:Content>

