<%@ Page language="c#" Codebehind="Create.aspx.cs" AutoEventWireup="false" Inherits="eDocument.Server.Administrator.Pdf.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 PDF</h1>
			<p>
				Fra denne siden kan du laste opp et PDF dokument eller opprette en referanse 
				til et PDF dokument tilgjengelig på internett. Dersom du ønsker å laste opp et 
				PDF dokument må du bla deg frem til dette PDF dokumentet på din datamaskin. 
				Dersom du ønsker å angi en referanse til et PDF dokument på internett må du 
				angi URL for dette PDF dokumentet.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td>
						<asp:Label id="Label4" runat="server">PDF fil</asp:Label>
					</td>
					<td><INPUT id="flPdfBinary" type="file" name="flPdfBinary" runat="server" style="WIDTH: 272px; HEIGHT: 19px"
							size="26">
					</td>
					<td>
						<asp:hyperlink id="Hyperlink2" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label2" runat="server">Eller URL til PDF dokument</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtPdfUrl" runat="server" MaxLength="300" Width="272px"></asp:TextBox>
					</td>
					<td>
						<asp:hyperlink id="Hyperlink1" runat="server" Target="_blank" Visible="False">Help</asp:hyperlink>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td>
						<asp:Label id="Label1" runat="server">Navn *</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" Visible="False">Help</asp:hyperlink>
					</td>
					<td>
						<asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="Du må angi et navn." ControlToValidate="txtName"
							Display="Dynamic"></asp:RequiredFieldValidator>
					</td>
				</tr>
				<tr>
					<td valign="top">
						<asp:Label id="Label3" runat="server">Kommentar</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtComment" runat="server" TextMode="MultiLine" Height="160px" Width="272px"></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>
