<%@ Page CodeBehind="admin_menu_add.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.admin_menu_add" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<% @ Import Namespace="Webdisk" %>
		<link href="img/main.css" rel="stylesheet" type="text/css">
		<style type="text/css">.style4 { COLOR: #ff0000 }
	.style5 { FONT-WEIGHT: bold; COLOR: #ffffff }
		</style>
	</HEAD>
	<body>
		<form id="Form1" name="Form1" method="post" runat="server">
			<table border="0" cellspacing="1" cellpadding="3" align="center" width="100%">
				<tr>
					<td colSpan="3" class="td_title"><asp:Label id="add" runat="server" Font-Bold="True">添加</asp:Label>菜单
					</td>
				</tr>
				<tr class="tableTd">
					<td align="right" width="21%"><span class="forumrow"><span class="a3-green">位置：</span> </span>
					</td>
					<td><span class="forumrow">
							<asp:DropDownList id="ParentNodeId" runat="server"></asp:DropDownList></span></td>
				</tr>
				<tr class="tableTd">
					<td align="right" width="21%"><span class="forumrow"><span class="a3-green">菜单名称</span></span>：</td>
					<td width="79%"><span class="forumrow"><font color="#000000"><font color="#000000"><span class="a3-green"><font color="#000000"><font color="#000000"><span class="style4"><asp:textbox id="Text" runat="server" CssClass="tableTdtext"></asp:textbox><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" ErrorMessage="请输入菜单名称" ControlToValidate="Text"></asp:requiredfieldvalidator></span></font></font></span></font></font></span></td>
				</tr>
				<tr class="tableTd">
					<td align="right">菜单图标：</td>
					<td><asp:textbox id="ImageUrl" runat="server" CssClass="tableTdtext" Width="240px"></asp:textbox></td>
				</tr>
				<tr class="tableTd">
					<td align="right">链接地址：</td>
					<td><asp:textbox id="Url" runat="server" CssClass="tableTdtext" Width="240px"></asp:textbox></td>
				</tr>
				<tr class="tableTd">
					<td align="right">链接目标：</td>
					<td>
						<asp:RadioButtonList id="Target" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
							<asp:ListItem Value="wdcontent" Selected="True">系统内</asp:ListItem>
							<asp:ListItem Value="_blank">外部</asp:ListItem>
							<asp:ListItem Value="_top">整页</asp:ListItem>
						</asp:RadioButtonList></td>
				</tr>
				<tr class="tableTd">
					<td align="right">排序：</td>
					<td><asp:textbox id="OrderID" runat="server" CssClass="tableTdtext" Width="64px">0</asp:textbox>
						<asp:requiredfieldvalidator id="Requiredfieldvalidator2" runat="server" ControlToValidate="OrderID" ErrorMessage="请输入序号"></asp:requiredfieldvalidator></td>
				</tr>
				<tr class="tableTd">
					<td align="right">&nbsp;</td>
					<td><asp:checkbox id="Show" runat="server" Text='隐藏菜单'></asp:checkbox>
						<asp:CheckBox id="Expand" runat="server" Text="默认展开"></asp:CheckBox>
					</td>
				</tr>
				<tr class="tableTd">
					<td align="right" colSpan="2">
						<div align="center"><asp:button id="Submit1" runat="server" Width="100px" Text="添　加" class="formbutton" onclick="Submit1_Click"></asp:button></div>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
