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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
			<p>Velg prosessen som skal kjøres for søknad med referansenummer
				<asp:Label id="lblReferenceNumber" runat="server"></asp:Label>
			</p>
			<asp:DataGrid id="dgProcess" runat="server" AutoGenerateColumns="false">
				<Columns>
					<asp:BoundColumn Visible="False" DataField="Id"></asp:BoundColumn>
					<asp:BoundColumn Visible="True" DataField="Name" HeaderText="Navn"></asp:BoundColumn>
					<asp:BoundColumn Visible="True" DataField="Comment" HeaderText="Kommentar"></asp:BoundColumn>
					<asp:BoundColumn Visible="True" DataField="CreatedOn" HeaderText="Opprettet"></asp:BoundColumn>
                    <asp:HyperLinkColumn DataNavigateUrlField="Id" DataNavigateUrlFormatString="~/Process/Details.aspx?ProcessID={0}" Text="Detaljer"/>
					<asp:ButtonColumn Text="Kjør" CommandName="Execute"></asp:ButtonColumn>
				</Columns>
			</asp:DataGrid>
			<asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label>
</asp:Content>