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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <h1>Liste over forespørsler til lisens-endringer</h1>
    
    <asp:GridView 
        ID="grid" 
        runat="server" 
        AutoGenerateColumns="False" 
        Width="100%" 
        CssClass="skjema-admin__table mb-4"
        Border="0"
        HeaderStyle-CssClass="HeaderStyle"
        ItemStyle-CssClass="ItemStyle" 
        AllowSorting="False">
        <Columns>
            <asp:HyperLinkField HeaderText="Organisasjon" DataTextField="CustomerName" DataNavigateUrlFields="CustomerId" DataNavigateUrlFormatString="~/Consumer/Update.aspx?ConsumerID={0}" />
            <%--<asp:BoundField HeaderText="Organisasjon" DataField="CustomerName" />--%>
            <asp:BoundField HeaderText="Bruker" DataField="AdminUserEmail" />
            <asp:BoundField HeaderText="Opprettet" DataField="CreatedOn" />
            <asp:BoundField HeaderText="Installasjonstype" DataField="InstallationType" />
            <asp:HyperLinkField HeaderText="" Text="Behandle" DataNavigateUrlFields="RequestId" DataNavigateUrlFormatString="~/SuperUser/ProcessLicenseChangeRequest.aspx?requestId={0}" />
            <%--<asp:ButtonField Text="Slett" CommandName="Delete"  />--%>
        </Columns>
    </asp:GridView>
</asp:Content>