<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyVerifyVerifications.aspx.vb" Inherits="CSEasyVerify.CSEasyVerifyVerifications" %>
<%@ 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="-Verifications" CaptionSuffixID="0">
			<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="btnCategories" buttonstyle="Custom" Caption="Categories" CaptionID="58" navigateUrl="CSEasyVerifyCategories.aspx" />
			<ex:button runat="server" id="btnClose" buttonstyle="Close" />
		</ex:buttonbar>

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

        <ex:cardrow runat="server" id="crFilter">
			<ex:cardcolumn runat="server" id="ccFilter1">
		        <ex:cardsection runat="server" id="csFilter1" caption="Filter" captionid="1378" ShowHeader="False">
					<ex:cardfield runat="server" id="cfFilterCategory" caption="Category" captionid="1205">
                        <ex:combobox runat="server" id="FilterCategory" allowempty="true" AutoPostBack="True" />
				    </ex:cardfield>
					<ex:cardfield runat="server" id="csFilterActive" caption="Active" captionid="9086">
                        <ex:combobox runat="server" id="FilterActive" allowempty="true" AutoPostBack="True">
                            <ex:listitem caption="Yes" captionid="1014" value="1" />
                            <ex:listitem caption="No" captionid="1015" value="0" />										
						</ex:combobox>
				    </ex:cardfield>
                </ex:cardsection>
            </ex:cardcolumn>
			<ex:cardcolumn runat="server" id="ccFilter2">
		        <ex:cardsection runat="server" id="csFilter2" caption="Filter" captionid="1378" ShowHeader="False">
					<ex:cardfield runat="server" id="cfFilterPage" caption="Page" captionid="8435">
                        <ex:combobox runat="server" id="FilterPage" allowempty="true" AutoPostBack="True" />
				    </ex:cardfield>
					<ex:cardfield runat="server" id="cfFilterAction" caption="Action" captionid="10221">
						<ex:combobox runat="server" id="FilterAction" allowempty="true" AutoPostBack="True" />
					</ex:cardfield>
                </ex:cardsection>
            </ex:cardcolumn>
        </ex:cardrow>

        <ex:cardrow runat="server" id="crData">
            <ex:cardcolumn runat="server" id="ccData">
                <ex:cardlistview runat="server" id="csValidations" showheader="True" customizecolumns="False" customizerows="False">
	                <ex:listview runat="server" id="lst" Caption="Verifications" CaptionID="0" onquery="List_OnQuery" ongetdata="List_OnGetData" showwaitmessage="True" DefaultSortColumn="colModified" DefaultSortDescending="True" Autopostback="True" enablesetting="true" ScrollBar="None" ShowPageSize="False">
                        <Columns>
                            <ex:listviewcolumn runat="server" id="colDescription" width="20%" caption="Description" captionid="4243" EnableSorting="True"/>
							<ex:listviewcolumn runat="server" id="colPage" width="10%" caption="Page" captionid="8435" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colCategory" width="10%" caption="Category" captionid="1205" EnableSorting="False"/>
                            <ex:listviewcolumn runat="server" id="colCriteria" width="10%" caption="Criteria" captionid="9822" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colAction" width="5%" caption="Action" captionid="10221" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colMessage" width="10%" caption="Message" captionid="1778" captionsuffix="/Action" captionsuffixid="10221" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colType" width="5%" caption="Type" captionid="3801" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colTiming" width="5%" caption="Display Options" captionid="34348" EnableSorting="False"/>
							<ex:listviewcolumn runat="server" id="colFormat" width="5%" caption="Format" captionid="2411" EnableSorting="False"/>
				            <ex:listviewcolumn runat="server" id="colEnabled" width="5%" caption="Enabled" captionid="9086" EnableSorting="True"/>
							<ex:listviewcolumn runat="server" id="colPriority" width="5%" caption="Priority" captionid="3217" EnableSorting="True"/>
                            <ex:listviewcolumn runat="server" id="colModified" width="10%" captionid="53" caption="Modified" 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>