<%@ Page language="c#" Codebehind="AttachAdapter.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.IntegrationField.AttachAdapter" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AttachAdapter</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 rel="stylesheet" type="text/css" href="../css/FrameWork.css">
		<LINK rel="stylesheet" type="text/css" href="../css/Main.css">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h1>Legg til adapter</h1>
						<p>På denne siden velger du en adapter som skal legges til et integrasjonsfelt. 
				Velg en adapter fra nedtrekkslisten. Du kan også spesifisere en 
				betingelsessamling for adapteren. Adapteren vil da kun bli benyttet dersom 
				betingelsessamlingen er sann.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td>
						<asp:Label id="Label3" runat="server">Adapter *</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlIntegrationDataAdapter" runat="server" Width="500px" DataTextField="Name"
							DataValueField="IntegrationDataAdapterID"></asp:DropDownList>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="Du må velge en adapter."
							ControlToValidate="ddlIntegrationDataAdapter" InitialValue="[Velg]"></asp:RequiredFieldValidator>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="lblConditionCollection" runat="server"> Betingelsessamling</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlConditionCollection" runat="server" Width="500px" DataTextField="Name" DataValueField="ConditionCollectionID"></asp:DropDownList>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						<asp:Button id="btnCreate" runat="server" Text="Legg til"></asp:Button>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
		</form>
	</body>
</HTML>
