<%@ Page language="c#" Codebehind="Details.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.eDocumentInstance.Details"  MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<h1>Submitted instances for eDocument Template:
				<asp:Label id="lblEDocumentTemplateName" runat="server">[Unknown]</asp:Label>
			</h1>
			<asp:datagrid id="dgInstances" runat="server" AutoGenerateColumns="False" Width="100%" HeaderStyle-CssClass="HeaderStyle"
				ItemStyle-CssClass="ItemStyle" AlternatingItemStyle-CssClass="AlternatingItemStyle" AllowSorting="False">
				<Columns>
					<asp:BoundColumn DataField="eDocumentInstanceID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="eDocumentTemplateVersionID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="eDocumentTemplateID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="SubmittedByConsumerID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="eDocumentTemplateVersion" HeaderText="eDocument Template Version"></asp:BoundColumn>
					<asp:BoundColumn DataField="SubmittedByConsumerName" HeaderText="Submitted by consumer"></asp:BoundColumn>
					<asp:BoundColumn DataField="SubmitUserUsername" HeaderText="Submitted by user"></asp:BoundColumn>
					<asp:BoundColumn DataField="SubmittedOn" HeaderText="Submitted"></asp:BoundColumn>
					<asp:HyperLinkColumn Text="Xml" Target="_blank" HeaderText="Xml" DataNavigateUrlFormatString="~/eDocumentInstance/DownloadXmlResponse.aspx?eDocumentInstanceID={0}"
						DataNavigateUrlField="eDocumentInstanceID"></asp:HyperLinkColumn>
					<asp:HyperLinkColumn Text="Xfdf" Target="_blank" HeaderText="Xfdf" DataNavigateUrlFormatString="~/eDocumentInstance/DownloadXfdfResponse.aspx?eDocumentInstanceID={0}"
						DataNavigateUrlField="eDocumentInstanceID"></asp:HyperLinkColumn>
					<asp:HyperLinkColumn Text="Pdf" Target="_blank" HeaderText="Pdf" DataNavigateUrlFormatString="~/eDocumentInstance/DownloadPdfResponse.aspx?eDocumentInstanceID={0}"
						DataNavigateUrlField="eDocumentInstanceID"></asp:HyperLinkColumn>
					<asp:ButtonColumn Text="Processes" CommandName="ProcessDetails"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label>
</asp:Content>