<%@ Page language="c#" Codebehind="ShowViewerRequests.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.eDocumentTemplate.ShowViewerRequests" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>ShowViewerRequests</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
		<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="btnRefresh" runat="server" Text="Refresh"></asp:Button>
				<asp:Button id="btnBack" runat="server" Text="Back"></asp:Button></P>
		</form>
	</body>
</HTML>
