<%@ Page language="c#" Codebehind="Create.aspx.cs" AutoEventWireup="True" Inherits="eDocument.Server.Administrator.MailAddress.Create"  MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<h1>Opprett e-postadresse</h1>
			<p>
				Fra denne siden kan du opprette et e-postadresse objekt. De obligatoriske 
				feltene er merket med *.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<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>
						<asp:Label id="Label2" runat="server">E-postadresse *</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtAddress" 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>
						<asp:RequiredFieldValidator id="RequiredFieldValidator2" runat="server" ErrorMessage="Du må angi en e-postadresse."
							ControlToValidate="txtAddress" 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="50px" Width="272px"></asp:TextBox>
					</td>
					<td>
					</td>
					<td>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="right">
						<asp:Button id="btnCreate" runat="server" Text="Opprett" onclick="btnCreate_Click"></asp:Button>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>