<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Categories.aspx.cs" Inherits="eDocument.ReferenceImplementation.Categories" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<title><asp:Literal ID="Literal1" runat="server" text="<%$ Resources:Resource, application_title%>"/></title>
</head>
<body>
	<form id="form1" runat="server">
	<div>
		<asp:HyperLink ID="lnkMainPage" runat="server" NavigateUrl="~/Default.aspx" Text="<%$ Resources:Resource, link_main%>" /><br />
		<br />
		<asp:GridView ID="gridCategories" runat="server" AutoGenerateColumns="false">
			<Columns>
				<asp:BoundField DataField="Caption" HeaderText="<%$ Resources:Resource, column_name%>" />
				<asp:BoundField DataField="Description" HeaderText="<%$ Resources:Resource, column_description%>" />
				<asp:HyperLinkField DataNavigateUrlFields="eDocumentTemplateCategoryID" DataNavigateUrlFormatString="Templates.aspx?CategoryID={0}"
					Text="<%$ Resources:Resource, text_inCategory%>" />
				<asp:HyperLinkField DataNavigateUrlFields="eDocumentTemplateCategoryID" DataNavigateUrlFormatString="Templates.aspx?CategoryID={0}&Exclude=1"
					Text="<%$ Resources:Resource, text_notInCategory%>" />
			</Columns>
		</asp:GridView>
	</div>
	</form>
</body>
</html>
