<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListConsumerDeleteProfiles.aspx.cs" Inherits="eDocument.Server.Administrator.Consumer.ListConsumerDeleteProfiles" MasterPageFile="~/Site.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <h1>
				Oversikt over sletteprofiler</h1>
			<p>
				Denne siden gir en oversikt over de sletteprofilene du har opprettet. 
			</p>
			
			<asp:datagrid id="dgDeleteProfiles" runat="server" AutoGenerateColumns="False" Width="100%" HeaderStyle-CssClass="HeaderStyle"
				ItemStyle-CssClass="ItemStyle" AlternatingItemStyle-CssClass="AlternatingItemStyle" AllowSorting="False" OnItemCommand="dgDeleteProfiles_ItemCommand">
				<AlternatingItemStyle CssClass="AlternatingItemStyle"></AlternatingItemStyle>
				<ItemStyle CssClass="ItemStyle"></ItemStyle>
				<HeaderStyle CssClass="HeaderStyle"></HeaderStyle>
				<Columns>
					<asp:BoundColumn Visible="False" DataField="ConsumerDeleteProfileID"></asp:BoundColumn>
					<asp:BoundColumn DataField="ConsumerName" HeaderText="Navn"></asp:BoundColumn>
					<asp:BoundColumn DataField="ConsumerUsername" HeaderText="Brukernavn"></asp:BoundColumn>
					<asp:BoundColumn DataField="ConsumerComment" HeaderText="Kommentar" Visible="False"></asp:BoundColumn>
					<asp:BoundColumn DataField="CreatedOn" HeaderText="Opprettet"></asp:BoundColumn>
					<asp:BoundColumn DataField="LoggedIn_DeleteSaved" HeaderText="Lagrede for innloggede brukere"></asp:BoundColumn>
					<asp:BoundColumn DataField="LoggedIn_DeleteSubmitted" HeaderText="Innsendte for innloggede brukere"></asp:BoundColumn>
                    <asp:BoundColumn DataField="Anonymous_DeleteSubmitted" HeaderText="Innsendte for anonyme brukere"></asp:BoundColumn>					
					<asp:ButtonColumn Text="Rediger" CommandName="Edit"></asp:ButtonColumn>
					<asp:ButtonColumn Text="Slett" CommandName="Delete"></asp:ButtonColumn>
				</Columns>
			</asp:datagrid>
</asp:Content>