<%@ Page language="c#" Codebehind="Create.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.Subscriber.Create" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Create</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>Create Subscriber</h1>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td><asp:label id="Label1" runat="server">Name</asp:label></td>
					<td><asp:textbox id="txtName" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="HyperLink7" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="RequiredFieldValidator1" runat="server" Display="Dynamic" ControlToValidate="txtName"
							ErrorMessage="You must specify a name."></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td><asp:label id="Label2" runat="server">Address 1</asp:label></td>
					<td><asp:textbox id="txtAddress1" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink1" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label4" runat="server">Address 2</asp:label></td>
					<td><asp:textbox id="txtAddress2" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink2" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label5" runat="server">Zip</asp:label></td>
					<td><asp:textbox id="txtZip" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink3" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label6" runat="server">City</asp:label></td>
					<td><asp:textbox id="txtCity" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink4" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label7" runat="server">Telephone</asp:label></td>
					<td><asp:textbox id="txtTelephone" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink5" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label8" runat="server">Telefax</asp:label></td>
					<td><asp:textbox id="txtTelefax" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink6" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label9" runat="server">E-mail address</asp:label></td>
					<td><asp:textbox id="txtEmailAddress" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink8" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label10" runat="server">Url</asp:label></td>
					<td><asp:textbox id="txtUrl" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink9" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label11" runat="server">Frontpage</asp:label></td>
					<td><asp:textbox id="txtFrontPage" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink10" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label12" runat="server">Vpn</asp:label></td>
					<td><asp:textbox id="txtVpn" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink11" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label13" runat="server">IsTest</asp:label></td>
					<td><asp:checkbox id="cbIsTest" runat="server"></asp:checkbox></td>
					<td><asp:hyperlink id="Hyperlink12" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label14" runat="server">Parent subscriber</asp:label></td>
					<td><asp:dropdownlist id="ddlParentSubscriber" runat="server" Width="272px" DataValueField="SubscriberID"
							DataTextField="Name"></asp:dropdownlist></td>
					<td><asp:hyperlink id="Hyperlink13" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label15" runat="server">ConsumerLink</asp:label></td>
					<td><asp:dropdownlist id="ddlConsumerLink" runat="server" Width="272px" DataValueField="ConsumerID" DataTextField="Username"></asp:dropdownlist></td>
					<td><asp:hyperlink id="Hyperlink14" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="Requiredfieldvalidator14" runat="server" Display="Dynamic" ControlToValidate="ddlConsumerLink"
							ErrorMessage="You must selectc a Consumer from the DropDownList."></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td><asp:label id="Label16" runat="server">KommuneID</asp:label></td>
					<td><asp:textbox id="txtKommuneID" runat="server" MaxLength="300" Width="272px"></asp:textbox></td>
					<td><asp:hyperlink id="Hyperlink15" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td></td>
				</tr>
				<tr>
					<td><asp:label id="Label17" runat="server">InstallationType</asp:label></td>
					<td><asp:dropdownlist id="ddlInstallationType" runat="server" Width="272px">
							<asp:ListItem Value="[Select]" Selected="True">[Select]</asp:ListItem>
							<asp:ListItem Value="0">Local ActivePdf</asp:ListItem>
							<asp:ListItem Value="1">Hosted ActivePDF</asp:ListItem>
						</asp:dropdownlist></td>
					<td><asp:hyperlink id="Hyperlink16" runat="server" Target="_blank">Help</asp:hyperlink></td>
					<td><asp:requiredfieldvalidator id="Requiredfieldvalidator16" runat="server" Display="Dynamic" ControlToValidate="ddlInstallationType"
							ErrorMessage="You must select an InstallationType from the DropDownList." InitialValue="[Select]"></asp:requiredfieldvalidator></td>
				</tr>
				<tr>
					<td vAlign="top"><asp:label id="Label3" runat="server">Comment</asp:label></td>
					<td><asp:textbox id="txtComment" runat="server" Width="272px" Height="160px" TextMode="MultiLine"></asp:textbox></td>
					<td></td>
					<td></td>
				</tr>
				<tr>
					<td align="right" colSpan="3"><asp:button id="btnCreate" runat="server" Text="Create"></asp:button></td>
					<td></td>
				</tr>
			</table>
			<asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label></form>
	</body>
</HTML>
