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

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
		<h1>Søk på kundeprosesser</h1>
		<p>Fra denne siden kan du søke opp en kunde sine prosesser.</p>
		<p>
			<asp:Label ID="lblConsumer" runat="server">Skriv inn navnet på kunden </asp:Label>
			<asp:TextBox ID="txtConsumer" runat="server"></asp:TextBox>
			<asp:Button ID="btnSearch" runat="server" Text="Søk" PostBackUrl="~/Process/Search.aspx"></asp:Button>
			<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Du må angi et kundenavn" ControlToValidate="txtConsumer"></asp:RequiredFieldValidator>
		</p>
		
		<asp:Table ID="tblProcesses" Width="100%" runat="server">
			<asp:TableHeaderRow HorizontalAlign="Left">
				<asp:TableHeaderCell>Kundenavn</asp:TableHeaderCell>
				<asp:TableHeaderCell>Prosess</asp:TableHeaderCell>
				<asp:TableHeaderCell>Kommentar</asp:TableHeaderCell>
				<asp:TableHeaderCell>Detaljer</asp:TableHeaderCell>
			</asp:TableHeaderRow>
		</asp:Table>
					
		<asp:Label runat="server" ID="lblNoProcesses" Text="Ingen prosesser."></asp:Label>
		
		<p><asp:Label id="lblMessage" runat="server" ForeColor="Red"></asp:Label></p>
</asp:Content>