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

<html>
<head>
	<meta name="save" content="history" />
	<link runat="server" id="ExactCSS" href="Exact.css" type="text/css" rel="stylesheet" />
    <script src="CSEasyList.js"></script>
</head>
<body>

	<ep:form id="frm" runat="server">
        <ex:inputfield runat="server" id="RequestID" validationas="Guid" hidden="true" />

        <ex:CardControl runat="server" ID="Card" Action="Show">

		    <ex:header runat="server" id="hdr" Caption="Easy Office365" CaptionID="0" CaptionSuffix=":Log" CaptionSuffixID="218">
            </ex:header>

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

		    <ex:buttonbar runat="server" id="btnBar">
			    <ex:button runat="server" id="btnClose" buttonstyle="Close" />
                <ex:button runat="server" id="btnRefresh" buttonstyle="Refresh" onClick="SysSubmit(1);" />
		    </ex:buttonbar>

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

            <ex:cardrow runat="server" id="ccFilter">
                <ex:cardcolumn runat="server" id="crFilter1">
                    <ex:cardsection runat="server" id="csFilter1" ShowHeader="False">
					    <ex:cardfield runat="server" id="cfFilterSysCreated" caption="Created on" captionid="17864">
						    <ex:daterange runat="server" id="FilterSysCreated" ShowQuickSelect="True" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfFilterSubject" caption="Subject" captionid="213">
						    <ex:inputfield runat="server" id="FilterSubject" InputSize="50" MaxLength="255" />
					    </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
                <ex:cardcolumn runat="server" id="crFilter2">
                    <ex:cardsection runat="server" id="csFilter2" ShowHeader="False">
					    <ex:cardfield runat="server" id="cfFilterUser" caption="Person" captionid="12">
						    <ex:combobox runat="server" id="FilterUser" AllowEmpty="True" />
					    </ex:cardfield>
					    <ex:cardfield runat="server" id="cfFilterDirection" caption="Direction" captionid="22718">
						    <ex:combobox runat="server" id="FilterDirection" AllowEmpty="False" ValidationDefault="B" />
					    </ex:cardfield>
                    </ex:cardsection>
                </ex:cardcolumn>
            </ex:cardrow>

            <ex:cardrow runat="server" id="cr">
                <ex:cardcolumn runat="server" id="cc">
                    <ex:cardlistview runat="server" id="csLog" showheader="True" customizecolumns="False" customizerows="False">
	                    <ex:listview runat="server" id="lstLog" Caption="Log" CaptionID="218" onquery="lstLog_OnQuery" ongetdata="lstLog_OnGetData" showwaitmessage="True" ScrollBar="None" ShowPageSize="False">
                            <Columns>
                                <ex:listviewcolumn runat="server" id="colEmail" width="15%" caption="E-mail" captionid="5804" />
                                <ex:listviewcolumn runat="server" id="colDirection" width="5%" caption="Direction" captionid="22718" />
                                <ex:listviewcolumn runat="server" id="colSubject" caption="Subject" captionid="213" />
                                <ex:listviewcolumn runat="server" id="colMessage" caption="Message" captionid="1778" />
                                <ex:listviewcolumn runat="server" id="colDocument" caption="Document" captionid="7226" width="5%" />
                                <ex:listviewcolumn runat="server" id="colRequest" caption="Request" captionid="16" width="5%" />
                                <ex:listviewcolumn runat="server" id="colSysCreated" width="10%" caption="Created" captionid="2468" />
                                <ex:listviewcolumn runat="server" id="colView" width="1%" caption="Json" captionid="0" />
                            </Columns>
		                </ex:listview>
		                <ex:bcerrormessages runat="server" id="errNoDataFound" Mode="Notification" />
                    </ex:cardlistview>
                </ex:cardcolumn>
            </ex:cardrow>

        </ex:CardControl>
	</ep:form>
</body>
</html>