<%@ Page language="c#" Codebehind="DownloadAggregatedXmlResponse.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.eDocumentInstance.DownloadAggregatedXmlResponse" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>DownloadAggregatedXmlResponse</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>Download aggregated Xml response</h1>
			<p>The table below displays one row per eDocument template version that exists for 
				the selected eDocument template. You must specify for which of these versions 
				you wish to download an aggregated Xml response</p>
			<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="eDocumentTemplateVersionID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="Version" HeaderText="Version"></asp:BoundColumn>
					<asp:BoundColumn DataField="Count" HeaderText="Count"></asp:BoundColumn>
					<asp:BoundColumn DataField="eDocumentTemplateVersionComment" HeaderText="Comment"></asp:BoundColumn>
					<asp:HyperLinkColumn Text="Xsd" Target="_blank" HeaderText="Xsd" DataNavigateUrlFormatString="~/eDocumentInstance/DoDownloadAggregatedXsd.aspx?eDocumentTemplateVersionID={0}"
						DataNavigateUrlField="eDocumentTemplateVersionID"></asp:HyperLinkColumn>
					<asp:HyperLinkColumn Text="Xml" Target="_blank" HeaderText="Xml" DataNavigateUrlFormatString="~/eDocumentInstance/DoDownloadAggregatedXmlResponse.aspx?eDocumentTemplateVersionID={0}"
						DataNavigateUrlField="eDocumentTemplateVersionID"></asp:HyperLinkColumn>
					<asp:HyperLinkColumn Text="Flat Xml" Target="_blank" HeaderText="Flat Xml" DataNavigateUrlFormatString="~/eDocumentInstance/DoDownloadAggregatedFlatXmlResponse.aspx?eDocumentTemplateVersionID={0}"
						DataNavigateUrlField="eDocumentTemplateVersionID"></asp:HyperLinkColumn>						
					<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></form>
	</body>
</HTML>
