<%@ Page language="c#" Codebehind="List.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.ViewerRequest.List" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>List</title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<LINK href="../css/FrameWork.css" type="text/css" rel="stylesheet">
		<LINK href="../css/Main.css" type="text/css" rel="stylesheet">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h1>ViewerRequest list</h1>
			<p>This list displays the successful requests made from an eDocument.Viewer to the 
				eDocument.Server.</p>
			<asp:datagrid id="dgViewerRequests" runat="server" AllowSorting="False" AlternatingItemStyle-CssClass="AlternatingItemStyle"
				ItemStyle-CssClass="ItemStyle" HeaderStyle-CssClass="HeaderStyle" Width="100%" AutoGenerateColumns="False">
				<Columns>
					<asp:BoundColumn DataField="ViewerRequestID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="Host" HeaderText="Host" SortExpression="Host ASC"></asp:BoundColumn>
					<asp:BoundColumn DataField="AbsolutePath" HeaderText="AbsolutePath" SortExpression="AbsolutePath ASC"></asp:BoundColumn>
					<asp:BoundColumn DataField="Browser" HeaderText="Browser" SortExpression="Browser ASC"></asp:BoundColumn>
					<asp:BoundColumn DataField="MajorVersion" HeaderText="MajorVersion"></asp:BoundColumn>
					<asp:BoundColumn DataField="MinorVersion" HeaderText="MinorVersion"></asp:BoundColumn>
					<asp:BoundColumn DataField="UrlReferer" HeaderText="UrlReferer"></asp:BoundColumn>
					<asp:BoundColumn DataField="UserAgent" HeaderText="UserAgent"></asp:BoundColumn>
					<asp:BoundColumn DataField="UserHostAddress" HeaderText="UserHostAddress" SortExpression="UserHostAddress ASC"></asp:BoundColumn>
					<asp:BoundColumn DataField="RequestMadeOn" HeaderText="RequestMadeOn" SortExpression="RequestMadeOn ASC"></asp:BoundColumn>
					<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid>
			<P>
				<asp:Label id="lblNoViewerRequestsMessage" runat="server">No ViewerRequests.</asp:Label>
				<asp:Label id="lblViewerRequestCount" runat="server"></asp:Label><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></P>
			<P>
				<asp:Button id="btnDeleteAll" runat="server" Text="Delete all requests."></asp:Button>
				<asp:Button id="btnRefresh" runat="server" Text="Refresh"></asp:Button></P>
		</form>
	</body>
</HTML>
