<%@ Page language="c#" Codebehind="AttachValue.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.IntegrationField.AttachValue" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>AttachValue</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>Legg til feltverdi</h1>
			<p>På denne siden velger du en feltverdi som skal legges til et integrasjonsfelt. 
				Velg en feltverdi fra nedtrekkslisten. Du kan også spesifisere en 
				betingelsessamling for feltverdien. Feltverdien vil da kun bli benyttet dersom 
				betingelsessamlingen er sann.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td><asp:label id="Label3" runat="server">Feltverdi</asp:label></td>
					<td><asp:dropdownlist id="ddlIntegrationFieldValue" runat="server" DataValueField="IntegrationFieldValueID"
							DataTextField="FieldValue" Width="500px"></asp:dropdownlist></td>
					<td><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" InitialValue="[Velg]" ControlToValidate="ddlIntegrationFieldValue"
							ErrorMessage="Velg en feltverdi"></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" DataValueField="ConditionCollectionID"
							DataTextField="Name" Width="500px"></asp:dropdownlist></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td align="right" colSpan="2"><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>
