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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<h1>Rediger mappe objekt</h1>
			<p>
				Fra denne siden kan du redigere et mappe objekt. Gjør de ønskede endringer og 
				klikk "Oppdater" knappen når du er ferdig.
			</p>
			<table cellSpacing="2" cellPadding="5">
				<tr>
					<td style="WIDTH: 121px">
						<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 style="WIDTH: 121px">
						<asp:Label id="Label2" runat="server">Mappenavn *</asp:Label>
					</td>
					<td>
						<asp:TextBox id="txtPath" 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 et mappenavn."
							ControlToValidate="txtPath" Display="Dynamic"></asp:RequiredFieldValidator>
						<asp:RegularExpressionValidator id="RegularExpressionValidator1" runat="server" ControlToValidate="txtPath" ErrorMessage="Mappenavnet kan bare bestå av bokstanvene A - Z og tallene 0 - 9."
							ValidationExpression="^\w*\d*$"></asp:RegularExpressionValidator>
					</td>
				</tr>
				<tr>
					<td valign="top" style="WIDTH: 121px">
						<asp:Label id="Label3" runat="server">Comment</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="btnUpdate" runat="server" Text="Oppdater" onclick="btnUpdate_Click"></asp:Button>
					</td>
					<td>
					</td>
				</tr>
			</table>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>