<%@ Page Language="c#" CodeBehind="EditEvents.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Portal.EditEvents" %>
<%@ 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="100">
									&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">
										<tr valign="top">
											<td width="100" class="SubHead">
												名称：&nbsp;
											</td>
											<td rowspan="4">
												&nbsp;
											</td>
											<td>
												<asp:TextBox id="TitleField" cssclass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td width="25" rowspan="4">
												&nbsp;
											</td>
											<td class="Normal" width="250">
												<asp:RequiredFieldValidator Display="Static" runat="server" ErrorMessage="必须输入有效名称" ControlToValidate="TitleField"
													id="RequiredFieldValidator1" />
											</td>
										</tr>
										<tr valign="top">
											<td class="SubHead">
												描述：&nbsp;
											</td>
											<td>
												<asp:TextBox id="DescriptionField" TextMode="Multiline" width="390" Columns="44" Rows="6" runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator Display="Static" runat="server" ErrorMessage="必须输入有效描述" ControlToValidate="DescriptionField"
													id="RequiredFieldValidator2" />
											</td>
										</tr>
										<tr valign="top">
											<td class="SubHead">
												时间/地点：&nbsp;
											</td>
											<td>
												<asp:TextBox id="WhereWhenField" cssclass="NormalTextBox" width="390" Columns="30" maxlength="150"
													runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator Display="Static" runat="server" ErrorMessage="必须输入有效时间/地点" ControlToValidate="WhereWhenField"
													id="RequiredFieldValidator3" />
											</td>
										</tr>
										<tr valign="top">
											<td class="SubHead">
												有效期：&nbsp;
											</td>
											<td>
												<asp:TextBox id="ExpireField" Text="12/31/2001" cssclass="NormalTextBox" width="100" Columns="8"
													runat="server" />
											</td>
											<td class="Normal">
												<asp:RequiredFieldValidator Display="Static" id="RequiredExpireDate" runat="server" ErrorMessage="必须输入有效有效期"
													ControlToValidate="ExpireField" />
												<asp:CompareValidator Display="Static" id="VerifyExpireDate" runat="server" Operator="DataTypeCheck" ControlToValidate="ExpireField"
													Type="Date" ErrorMessage="必须输入有效有限期" />
											</td>
										</tr>
									</table>
									<p>
										<asp:LinkButton id="updateButton" Text="Update" runat="server" class="CommandButton" BorderStyle="none">
                                        更新</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="cancelButton" Text="Cancel" CausesValidation="False" runat="server" class="CommandButton"
											BorderStyle="none">
                                        取消</asp:LinkButton>
										&nbsp;
										<asp:LinkButton id="deleteButton" Text="Delete this item" CausesValidation="False" runat="server"
											class="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><FONT face="宋体"></FONT></P>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
