<%@ Page Language="c#" CodeBehind="EditLinks.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Portal.EditLinks" %>
<%@ Register TagPrefix="portal" TagName="Banner" Src="~/DesktopPortalBanner.ascx" %>
<%@ Import Namespace="ASPNET.StarterKit.Portal" %>
<HTML>
	<HEAD>
		<link rel="stylesheet" href='<%= Global.GetApplicationPath(Request) + "/ASPNETPortal.css" %>' type="text/css">
	</HEAD>
	<body leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">
		<form runat="server">
			<table width="100%" cellspacing="0" cellpadding="0" border="0">
				<tr valign="top">
					<td colspan="2">
						<portal:Banner id="SiteHeader" runat="server" />
					</td>
				</tr>
				<tr>
					<td>
						<br>
						<table width="98%" cellspacing="0" cellpadding="4" border="0">
							<tr valign="top">
								<td width="150">
									&nbsp;
								</td>
								<td width="*">
									<table width="500" cellspacing="0" cellpadding="0">
										<tr>
											<td align="left" class="Head">
												链接细节&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="2">
												<hr noshade size="1">
											</td>
										</tr>
									</table>
									<table width="750" cellspacing="0" cellpadding="0" border="0">
										<tr>
											<td width="100" class="SubHead">
												名称：&nbsp;
											</td>
											<td rowspan="5">
												&nbsp;
											</td>
											<td>
												<asp:TextBox id="TitleField" CssClass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td width="25" rowspan="5">
												&nbsp;
											</td>
											<td class="Normal" width="250">
												<asp:RequiredFieldValidator id="Req1" Display="Static" ErrorMessage="必须输入有效名称" ControlToValidate="TitleField"
													runat="server" />
											</td>
										</tr>
										<tr>
											<td class="SubHead">
												链接：&nbsp;
											</td>
											<td>
												<asp:TextBox id="UrlField" CssClass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator id="Req2" Display="Static" runat="server" ErrorMessage="必须输入有效链接" ControlToValidate="UrlField" />
											</td>
										</tr>
										<tr>
											<td class="SubHead">
												移动链接：&nbsp;
											</td>
											<td>
												<asp:TextBox id="MobileUrlField" CssClass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td>
												&nbsp;
											</td>
										</tr>
										<tr>
											<td class="SubHead">
												描述：&nbsp;
											</td>
											<td>
												<asp:TextBox id="DescriptionField" CssClass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td>
												&nbsp;
											</td>
										</tr>
										<tr>
											<td class="SubHead">
												序号：&nbsp;
											</td>
											<td>
												<asp:TextBox id="ViewOrderField" CssClass="NormalTextBox" width="390" Columns="30" maxlength="3"
													runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator Display="Static" id="RequiredViewOrder" runat="server" ControlToValidate="ViewOrderField"
													ErrorMessage="必须输入有效序号" />
												<asp:CompareValidator Display="Static" id="VerifyViewOrder" runat="server" Operator="DataTypeCheck" ControlToValidate="ViewOrderField"
													Type="Integer" ErrorMessage="必须输入有效序号" />
											</td>
										</tr>
									</table>
									<p>
										<asp:LinkButton id="updateButton" Text="Update" runat="server" CssClass="CommandButton" BorderStyle="none">
                                        更新</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="cancelButton" Text="Cancel" CausesValidation="False" runat="server" CssClass="CommandButton"
											BorderStyle="none">
                                        取消</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="deleteButton" Text="Delete this item" CausesValidation="False" runat="server"
											CssClass="CommandButton" BorderStyle="none">
                                        删除</asp:LinkButton>
										<hr noshade size="1" width="500">
										<span class="Normal"> 
                                            <asp:label id="CreatedBy" runat="server" />
                                            创建于
                                            <asp:label id="CreatedDate" runat="server" />
                                            <br>
                                        </span>
									<P>
									</P>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
