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

<html>
<head>
    <title></title>
    <link runat="server" id="ExactCSS" href="Exact.css" type="text/css" rel="stylesheet" />
    <script language="javascript" type="text/javascript" src="jquery.js"></script>
    <script language="javascript" type="text/javascript">
        function ExportClicked() {
            if (!lvcCheckCheckedlst_cCheck()) {
                SysAlert(13926, 'You haven\'t selected anything.');
                return;
            }
            SysSet('DoExport', 1);
            SysSubmit();
        }
    </script>
</head>
<body>
<ep:form id="Baco" runat="server">

<ex:InputField runat="server" ID="DoExport" CreateClientControl="True" Hidden="True" ValidationAs="Int" ValidationDefault="0" />
<ex:InputField runat="server" ID="ExportID" CreateClientControl="True" Hidden="True" ValidationAs="Guid" />

<ex:CardControl runat="server" ID="Card" Action="Show">
    <ex:header id="hdr" caption="Easy Verify" captionid="0" CaptionSuffix=":Export" CaptionSuffixID="8577" runat="server" showsitemappath="false">
        <ex:headerbutton id="hbFavorite" buttonstyle="Favorite" />
    </ex:header>

    <ex:headerproperties runat="server" id="hdrProps" HeaderPropertiesStyle="Custom" />

    <ex:buttonbar runat="server" id="Buttons">
        <ex:button runat="server" id="btnRefresh" buttonstyle="Refresh" onClick="SysSubmit(1);" />
        <ex:button runat="server" id="btnExport" buttonstyle="Custom" Caption="Export" CaptionID="8577" onClick="ExportClicked();" />
        <ex:button runat="server" id="btnClose" buttonstyle="Close" />
    </ex:buttonbar>

    <ex:bcerrormessages runat="server" id="errmsg" Mode="Notification" />

        <ex:cardrow runat="server" id="crFilter">
            <ex:cardcolumn runat="server" id="ccFilter1">
		        <ex:cardsection runat="server" id="csFilter1" caption="Filter" captionid="1378">
				    <ex:cardfield runat="server" id="cfFilterEnabled" caption="Enabled" captionid="9086">
                        <ex:combobox runat="server" id="FilterEnabled" validationas="int" allowempty="true">
                            <ex:listitem caption="Yes" captionid="1014" value="1" />
                            <ex:listitem caption="No" captionid="1015" value="0" />										
					    </ex:combobox> 
				    </ex:cardfield>
                    <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="cfFilterModified" caption="Modified" captionid="53">
					    <ex:daterange runat="server" id="FilterModified" validationas="DateTime" ShowQuickSelect="True" />
				    </ex:cardfield>
                </ex:cardsection>
            </ex:cardcolumn>
			<ex:cardcolumn runat="server" id="ccFilter2">
		        <ex:cardsection runat="server" id="csFilter2" caption="Filter" captionid="1378">
					<ex:cardfield runat="server" id="cfFilterType" caption="Type" captionid="3801">
                        <ex:combobox runat="server" id="FilterType" allowempty="true">
                            <ex:listitem caption="Information" captionid="8642" value="I" />
                            <ex:listitem caption="Error" captionid="4467" value="E" />
                            <ex:listitem caption="Pop-up" captionid="32810" value="P" />
					    </ex:combobox> 
				    </ex:cardfield>
                    <ex:cardfield runat="server" id="cfFilterDisplayOptions" caption="Display options" captionid="34348">
                        <ex:combobox runat="server" id="FilterDisplayOptions" allowempty="true">
                            <ex:listitem caption="Display" captionid="8549" value="D" />
                            <ex:listitem caption="Save" captionid="24522" value="S" />
					    </ex:combobox> 
				    </ex:cardfield>
					<ex:cardfield runat="server" id="cfFilterPage" caption="Page" captionid="8435">
                        <ex:combobox runat="server" id="FilterPage" allowempty="true" />
				    </ex:cardfield>
                    <ex:cardfield runat="server" id="cfFilterAction" caption="Action" captionid="10221">
                        <ex:combobox runat="server" id="FilterAction" allowempty="true">
                            <ex:listitem caption="Message" captionid="1778" value="M" />
                            <ex:listitem caption="BPA Platform (Orbis)" captionid="0" value="O" />
                            <ex:listitem caption="Stored Procedure" captionid="0" value="O" />
                            <ex:listitem caption="Tabel uitvoeren" captionid="0" value="T" />
                        </ex:combobox>
                    </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="clvData" 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:listviewcheckboxcolumn runat="server" id="cCheck" type="selectall" selectallprefix="chk" align="Center" width="5%" />
                        <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" captionid="53" caption="Modified" width="10%" 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>