Click here to Skip to main content
15,891,529 members
Articles / Web Development / ASP.NET

ASP.NET TimeTracker Starter Kits Porting from Windows to Linux (Race to Linux)

Rate me:
Please Sign up or sign in to vote.
2.84/5 (9 votes)
5 Oct 20055 min read 70.6K   388   21  
ASP.NET TimeTracker Starter Kits Porting from Windows to Linux using Mainsoft's Grasshopper
<%@ Page language="c#" Codebehind="ProjectList.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.TimeTracker.Web.ProjectList" %>
<%@ Register TagPrefix="TimeTracker" TagName="AdminTabs" Src="AdminTabs.ascx" %>
<%@ Register TagPrefix="TimeTracker" TagName="Banner" Src="Banner.ascx" %>
<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
	<head>
		<title>Project List</title>
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<link href="styles.css" type="text/css" rel="stylesheet">
	</head>
	<body>
		<form id="ProjectList" method="post" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td vAlign="top" background="images/bars.gif" height="46"><timetracker:banner id="Banner1" runat="server"></timetracker:banner></td>
				</tr>
				<tr>
					<td class="tab-active" vAlign="top" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
				</tr>
			</table>
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td width="8"><img height="8" src="images/spacer.gif" width="8"></td>
					<td vAlign="top">
						<timetracker:admintabs id="AdminTabs1" runat="server"></timetracker:admintabs>
						<table class="admin-tan-border" height="530" cellSpacing="20" cellPadding="0" width="100%" border="0">
							<tr>
								<td height="20"><asp:button id="NewProjectButton" runat="server" CssClass="standard-text" Text="Create New Project"></asp:button></td>
							</tr>
							<tr vAlign="top" height="*">
								<td>
									<asp:datagrid id="ProjectsGrid" runat="server" OnPageIndexChanged="ProjectsGrid_Page" allowpaging="True" BorderColor="White" BorderStyle="None" Width="100%" CellPadding="2" AutoGenerateColumns="False" AllowSorting="True">
										<headerstyle cssclass="grid-header"></headerstyle>
										<columns>
											<asp:hyperlinkcolumn DataNavigateUrlField="ProjectID" DataNavigateUrlFormatString="ProjectDetails.aspx?id={0}&amp;index=2" DataTextField="Name" SortExpression="Name" HeaderText="Project (click project name to edit)">
												<headerstyle horizontalalign="Left" width="65%" cssclass="grid-header"></headerstyle>
												<itemstyle cssclass="grid-first-item"></itemstyle>
											</asp:hyperlinkcolumn>
											<asp:templatecolumn SortExpression="ManagerUserName" HeaderText="Manager">
												<headerstyle horizontalalign="Left" width="15%" cssclass="grid-header"></headerstyle>
												<itemstyle cssclass="grid-item"></itemstyle>
												<itemtemplate>
													&nbsp;<%# DataBinder.Eval(Container, "DataItem.ManagerUserName") %>
												</itemtemplate>
											</asp:templatecolumn>
											<asp:templatecolumn SortExpression="CompletionDate" HeaderText="Completion">
												<headerstyle horizontalalign="Left" width="10%" cssclass="grid-header"></headerstyle>
												<itemstyle horizontalalign="Left" cssclass="grid-item"></itemstyle>
												<itemtemplate>
													&nbsp;<%# DataBinder.Eval(Container, "DataItem.EstCompletionDate", "{0:d}") %>
												</itemtemplate>
											</asp:templatecolumn>
											<asp:templatecolumn SortExpression="Duration" HeaderText="Duration">
												<headerstyle horizontalalign="Right" width="10%" cssclass="grid-header"></headerstyle>
												<itemstyle horizontalalign="Right" cssclass="grid-last-item"></itemstyle>
												<itemtemplate>
													&nbsp;<%# DataBinder.Eval(Container, "DataItem.EstDuration") %>
												</itemtemplate>
											</asp:templatecolumn>
										</columns>
										<pagerstyle horizontalalign="Center"></pagerstyle>
									</asp:datagrid>
								</td>
							</tr>
							<tr vAlign="top">
								<td colSpan="3" height="12"><img height="1" src="images/spacer.gif" width="1"></td>
							</tr>
						</table>
					</td>
					<td width="11"><img height="11" src="images/spacer.gif" width="11"></td>
				</tr>
				<tr>
					<td vAlign="top" colSpan="5" height="15"><img height="15" src="images/spacer.gif" width="15"></td>
				</tr>
			</table>
		</form>
	</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Architect
Australia Australia
"Impossible" + "'" + " " = "I'm Possible"

Started programming when i was a kid with 286 computers and Spectrum using BASIC from 1986. There was series of languages like pascal, c, c++, ada, algol, prolog, assembly, java, C#, VB.NET and so on. Then shifted my intrest in Architecture during past 5 years with Rational Suite and UML. Wrote some articles, i was member of month on some sites, top poster(i only answer) of week (actually weeks), won some books as prizes, rated 2nd in ASP.NET and ADO.NET in Australia.

There is simplicity in complexity

Comments and Discussions