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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<h1>Oversikt over mappe objekter</h1>
			<p>
				Denne siden gir en oversikt over de mappe objektene du har opprettet. Du kan se detaljer for, redigere og 
				slette eksisterende mapper. Vær oppmerksom på at du også sletter alt innholdet i en mappe når du sletter mappen.
			</p>
			<asp:datagrid id="dgFileSystemDirectories" runat="server" AutoGenerateColumns="False" Width="100%"
				HeaderStyle-CssClass="HeaderStyle" ItemStyle-CssClass="ItemStyle" AlternatingItemStyle-CssClass="AlternatingItemStyle"
				AllowSorting="False">
				<Columns>
					<asp:BoundColumn DataField="FileSystemDirectoryID" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="Name" SortExpression="Name ASC" HeaderText="Navn"></asp:BoundColumn>
					<asp:BoundColumn DataField="CreatedOn" SortExpression="CreatedOn ASC" HeaderText="Opprettet"></asp:BoundColumn>
					<asp:BoundColumn DataField="Path" SortExpression="Path ASC" HeaderText="Mappenavn" Visible=False></asp:BoundColumn>
					<asp:BoundColumn HeaderText="Sti"></asp:BoundColumn>
					<asp:BoundColumn DataField="Comment" HeaderText="Kommentar" Visible=False></asp:BoundColumn>
					<asp:ButtonColumn Text="Detaljer" CommandName="Details"></asp:ButtonColumn>
					<asp:ButtonColumn Text="Rediger" CommandName="Edit"></asp:ButtonColumn>
					<asp:ButtonColumn Text="Slett" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid><asp:label id="lblMessage" runat="server" ForeColor="Red"></asp:label>
</asp:Content>