<%@ Page language="c#" Codebehind="Create.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.IntegrationField.Create" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Create</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>Opprett integrasjonsfelt</h1>
			<p>
				Fra denne siden kan du opprette et integrasjonsfelt. De obligatoriske feltene 
				er merket med *.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td>
						<asp:Label id="lblEDocumentTemplateLabel" runat="server"> Skjermdialog</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlEDocumentTemplate" runat="server" Width="500px" DataTextField="Name" DataValueField="eDocumentTemplateID"></asp:DropDownList>
					</td>
					<td>
					</td>
					<td>
						<asp:RequiredFieldValidator id="rfvSelectTemplate" runat="server" ErrorMessage="You must select an eDocument template."
							ControlToValidate="ddlEDocumentTemplate" InitialValue="[Select]"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label1" runat="server">Ledetekst *</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtCaption" runat="server" MaxLength="300" Width="500px"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="Du må angi en ledetekst."
							ControlToValidate="txtCaption" Display="Dynamic"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label2" runat="server">Felt ID *</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtInnerGuid" runat="server" MaxLength="300" Width="500px"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ControlToValidate="txtInnerGuid" ErrorMessage="Du må angi feltets ID."></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label4" runat="server" Visible="False">Name</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtName" runat="server" MaxLength="300" Width="500px" Visible="False"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label6" runat="server">Felttype</asp:Label>
					</td>
					<td>
						<asp:DropDownList id="ddlFieldType" runat="server" Width="500px">
							<asp:ListItem Value="1B3ED383-6D44-4D1B-B697-CF49F20857CB">DropDownList</asp:ListItem>
							<asp:ListItem Value="2B3ED383-6D44-4D1B-B697-CF49F20857CB">RadioButtonList</asp:ListItem>
							<asp:ListItem Value="3B3ED383-6D44-4D1B-B697-CF49F20857CB">CheckBoxList</asp:ListItem>
							<asp:ListItem Value="0B3ED383-6D44-4D1B-B697-CF49F20857CB">TextBox</asp:ListItem>
						</asp:DropDownList>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td valign="top">
						<asp:Label id="Label3" runat="server">Beskrivelse</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtDescription" runat="server" TextMode="MultiLine" Height="160px" Width="500px"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						<asp:Button id="btnCreate" runat="server" Text="Opprett"></asp:Button>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
		</form>
	</body>
</HTML>
