<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyVerifyCategories.aspx.vb" Inherits="CSEasyVerify.CSEasyVerifyCategories" %>
<%@ register tagprefix="ex" namespace="Exact.Web.UI.Controls" assembly="Exact.Web.UI.Controls" %>

<html>
<head>
	<meta name="save" content="history" />
	<link rel="stylesheet" type="text/css" href="Exact.css" />

    <script type="text/javascript">
		function ChangeActiveState(id) {
			SysSet('ChangeState', id);
			SysSubmit(1);
        }
    </script>
</head>
<body>

<ep:form id="frm" runat="server">
	<ex:InputField runat="server" ID="ChangeState" CreateClientControl="True" Hidden="True" ValidationAs="Guid" />

    <ex:CardControl runat="server" ID="Card" Action="Show">
		<ex:header runat="server" id="hdr" Caption="Easy Verify" CaptionID="0" CaptionSuffix="-Categories" CaptionSuffixID="58">
			<ex:headerbutton id="hbFavorite" buttonstyle="Favorite" />
			<ex:headerbutton id="hbExcel" buttonstyle="ExcelExport" />
			<ex:headerbutton id="hbPrint" buttonstyle="Printable" />
		</ex:header>

		<ex:buttonbar runat="server" id="btnBar">
			<ex:button runat="server" id="btnRefresh" buttonstyle="Refresh" buttontype="Submit" />
			<ex:button runat="server" id="btnNew" buttonstyle="AddNew" />
			<ex:button runat="server" id="btnClose" buttonstyle="Close" />
		</ex:buttonbar>

        <ex:bcerrormessages runat="server" id="errMsg" />

        <ex:cardrow runat="server" id="crData">
            <ex:cardcolumn runat="server" id="ccData">
                <ex:cardlistview runat="server" id="csCategories" showheader="True" customizecolumns="False" customizerows="False">
	                <ex:listview runat="server" id="lst" Caption="Categories" CaptionID="58" onquery="List_OnQuery" ongetdata="List_OnGetData" showwaitmessage="True" DefaultSortColumn="colDescription" DefaultSortDescending="True" Autopostback="True" enablesetting="true" ScrollBar="None" ShowPageSize="False">
                        <Columns>
                            <ex:listviewcolumn runat="server" id="colDescription" width="100%" caption="Description" captionid="4243" EnableSorting="True"/>
                        </Columns>
		            </ex:listview>
		            <ex:bcerrormessages runat="server" id="errNoDataFound" Mode="Notification" />
                </ex:cardlistview>
            </ex:cardcolumn>
        </ex:cardrow>
    </ex:CardControl>
</ep:form>

</body>
</html>