<%@ Page language="c#" Codebehind="Details.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.IntegrationField.Details" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Details</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>Detaljer for integrationsfelt</h1>
			<p>
				Fra denne siden ser du detaljer for et integrasjonsfelt. Hvis du ønsker å legge 
				til en ny eller eksisterende feltverdi bruker du "Legg til ny feltverdi" eller 
				"Legg til eksisterende feltverdi" knappene nedenfor. Du kan også se detaljer 
				for, redigere eller fjerne feltverdier som er lagt til dette 
				integrasjonsfeltet.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td><asp:label id="Label2" runat="server">Felt</asp:label></td>
					<td><asp:label id="lblCaption" runat="server"></asp:label></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label1" runat="server">Beskrivelse</asp:label></td>
					<td><asp:label id="lblDescription" runat="server"></asp:label></td>
					<td></td>
				</tr>
			</table>
			<h2>Feltverdier:</h2>
			<P><asp:datagrid id="dgIntegrationFieldValues" runat="server" AllowSorting="True" AlternatingItemStyle-CssClass="AlternatingItemStyle"
					ItemStyle-CssClass="ItemStyle" HeaderStyle-CssClass="HeaderStyle" Width="100%" AutoGenerateColumns="False">
					<Columns>
						<asp:BoundColumn DataField="IntegrationFieldValueOnIntegrationFieldID" Visible="False"></asp:BoundColumn>
						<asp:BoundColumn DataField="IntegrationFieldValueID" Visible="False"></asp:BoundColumn>
						<asp:BoundColumn DataField="FieldCaption" HeaderText="Caption" Visible="False"></asp:BoundColumn>
						<asp:BoundColumn DataField="FieldValue" HeaderText="Feltverdi"></asp:BoundColumn>
						<asp:BoundColumn DataField="PdfKey" HeaderText="PdfKey" Visible="false"></asp:BoundColumn>
						<asp:BoundColumn DataField="ParentIntegrationFieldValueFieldCaption" HeaderText="Parent caption"
							Visible="False"></asp:BoundColumn>
						<asp:BoundColumn DataField="ParentIntegrationFieldValueFieldValue" HeaderText="Avhengig av feltverdi"></asp:BoundColumn>
						<asp:BoundColumn DataField="ConditionCollectionName" HeaderText="Betingelesessamling"></asp:BoundColumn>
						<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
						<asp:ButtonColumn Text="Rediger" CommandName="Edit"></asp:ButtonColumn>
						<asp:ButtonColumn Text="Fjern" CommandName="Delete"></asp:ButtonColumn>
					</Columns>
				</asp:datagrid>
				<asp:Label id="lblNoValues" runat="server">Ingen feltverdier.</asp:Label></P>
			<P><asp:button id="btnAttachNewValue" runat="server" Text="Legg til ny feltverdi"></asp:button>&nbsp;<asp:button id="btnAttachExistingValue" runat="server" Text="Legg til eksisterende feltverdi"></asp:button></P>
			<h2>Adaptere:</h2>
			<P><asp:datagrid id="dgIntegrationDataAdapters" runat="server" AllowSorting="True" AlternatingItemStyle-CssClass="AlternatingItemStyle"
					ItemStyle-CssClass="ItemStyle" HeaderStyle-CssClass="HeaderStyle" Width="100%" AutoGenerateColumns="False">
					<AlternatingItemStyle CssClass="AlternatingItemStyle"></AlternatingItemStyle>
					<ItemStyle CssClass="ItemStyle"></ItemStyle>
					<HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
					<Columns>
						<asp:BoundColumn Visible="False" DataField="IntegrationDataAdapterOnIntegrationFieldID"></asp:BoundColumn>
						<asp:BoundColumn Visible="False" DataField="IntegrationDataAdapterID"></asp:BoundColumn>
						<asp:BoundColumn Visible="False" DataField="IntegrationDataAdapterTypeID"></asp:BoundColumn>
						<asp:BoundColumn DataField="Name" HeaderText="Navn"></asp:BoundColumn>
						<asp:BoundColumn DataField="Description" HeaderText="Beskrivelse"></asp:BoundColumn>
						<asp:BoundColumn DataField="IntegrationDataAdapterTypeName" HeaderText="Type"></asp:BoundColumn>
						<asp:BoundColumn DataField="ConditionCollectionName" HeaderText="Betingelsessamling"></asp:BoundColumn>
						<asp:BoundColumn DataField="CreatedOn" HeaderText="Opprettet"></asp:BoundColumn>
						<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
						<asp:ButtonColumn Text="Rediger" CommandName="Edit"></asp:ButtonColumn>
						<asp:ButtonColumn Text="Fjern" CommandName="Delete"></asp:ButtonColumn>
					</Columns>
				</asp:datagrid>
				<asp:Label id="lblNoAdapters" runat="server">Ingen adaptere.</asp:Label></P>
			<P><asp:button id="btnAttachNewAdapter" runat="server" Text="Legg til ny adapter"></asp:button>&nbsp;<asp:button id="btnAttachExistingAdapter" runat="server" Text="Legg til eksisterende adapter"></asp:button></P>
			<P><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></P>
		</form>
	</body>
</HTML>
