<%@ Page Language="vb" AutoEventWireup="false" Codebehind="ClassAssignments.aspx.vb" Inherits="AllSaints.ClassAssignments"%>
<%@ Register TagPrefix="uc1" TagName="TopPage" Src="TopPage.ascx" %>
<%@ Register TagPrefix="uc1" TagName="LeftPage" Src="LeftPage.ascx" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title>Class Assignments</title>
		<meta content="Microsoft Visual Studio.NET 7.0" name="GENERATOR">
		<meta content="Visual Basic 7.0" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="css/default.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<TR>
					<TD colspan="2" noWrap><uc1:toppage id="TopPage1" runat="server"></uc1:toppage></TD>
				</TR>
				<tr>
					<td style="width:210px; padding-left:10px; padding-bottom:10px;" valign="top" bgcolor="#ffffff" align="left">
						<table cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td valign="top" class="LeftLinksTd">
									<uc1:leftpage id="Toppage2" runat="server"></uc1:leftpage>
								</td>
							</tr>
						</table>
					</td>
					<td style="width:100%; padding:10px;" valign=top bgcolor="#ffffff">
						<table cellpadding="0" cellspacing="0" align=left width="100%">
							<TR>
								<TD noWrap bgColor="#ffffff">&nbsp;<STRONG>&nbsp;&nbsp;
										<asp:LinkButton id="lnkBack2eClass" runat="server">Back to eClass</asp:LinkButton>&nbsp;
										<asp:HyperLink id="hlnkNewAssignment" runat="server" NavigateUrl="ClassAssignment.aspx">Create New Assignment</asp:HyperLink></STRONG></TD>
							</TR>
							<TR>
								<TD noWrap bgColor="white">&nbsp;</TD>
							</TR>
							<TR>
								<TD noWrap bgColor="white" colSpan="1" rowSpan="1">&nbsp;
									<asp:datagrid id="DG_Assignments" runat="server" AllowSorting="True" PageSize="25" Font-Names="Verdana"
										Font-Size="10px" BorderStyle="None" HorizontalAlign="Center" ShowFooter="True" ForeColor="Black"
										GridLines="Horizontal" CellPadding="0" BackColor="White" BorderWidth="1px" BorderColor="#DEDFDE"
										AllowPaging="True" Width="98%" DataKeyField="AsignID" DataMember="as_ClassAssignments" AutoGenerateColumns="False">
										<SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#CE5D5A"></SelectedItemStyle>
										<AlternatingItemStyle BackColor="White"></AlternatingItemStyle>
										<ItemStyle CssClass="incell"></ItemStyle>
										<HeaderStyle Font-Bold="True" ForeColor="White" CssClass="menustrip"></HeaderStyle>
										<Columns>
											<asp:TemplateColumn>
												<HeaderStyle Width="18px"></HeaderStyle>
												<ItemTemplate>
													<asp:CheckBox id=CheckBox1 runat="server" ToolTip='<%# DataBinder.Eval(Container, "DataItem.AsignID") %>'>
													</asp:CheckBox>
												</ItemTemplate>
											</asp:TemplateColumn>
											<asp:BoundColumn DataField="AsignTitle" SortExpression="AsignTitle" HeaderText="Title"></asp:BoundColumn>
											<asp:BoundColumn DataField="Subject" SortExpression="Subject" HeaderText="Subject"></asp:BoundColumn>
											<asp:BoundColumn DataField="StartDate" SortExpression="StartDate" HeaderText="Start Date"></asp:BoundColumn>
											<asp:BoundColumn DataField="EndDate" SortExpression="EndDate" HeaderText="End Date"></asp:BoundColumn>
											<asp:BoundColumn DataField="SubmitDate" SortExpression="SubmitDate" HeaderText="Submit Date"></asp:BoundColumn>
											<asp:HyperLinkColumn Text="Full Details" DataNavigateUrlField="AsignID" DataNavigateUrlFormatString="ClassAssignment.aspx?AsignID={0}"></asp:HyperLinkColumn>
										</Columns>
										<PagerStyle NextPageText="NEXT &amp;gt; " PrevPageText="&amp;lt; PREVIOUS" HorizontalAlign="Center"
											BackColor="PaleGoldenrod" CssClass="nav1linkoff"></PagerStyle>
									</asp:datagrid></TD>
							</TR>
							<TR>
								<TD noWrap bgColor="#ffffff">&nbsp;</TD>
							</TR>
						</table>
					</td>
				</tr>
			</TABLE>
		</form>
	</body>
</HTML>
