<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="CSEasyO365InitialSynch.aspx.vb" Inherits="CSEasyO365.CSEasyO365InitialSynch" %>
<%@ 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>
    <style>
[id^="colHeader"] {
  text-align: center !important;
  font-weight: bold !important;
}
    </style>
</head>
<body>

	<ep:form id="frm" runat="server">
        <ex:inputfield runat="server" id="Action" validationas="Int" validationdefault="0" hidden="true" />

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

		    <ex:header runat="server" id="hdr" Caption="Easy Office365" CaptionID="0" CaptionSuffix=":Synchroniseren aanzetten" CaptionSuffixID="0">
            </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:button runat="server" id="btnRun" buttonstyle="Custom" Caption="Synchroniseer voor geselecteerde medewerkers" CaptionID="0" onClick="SysSet('Action', '1'); SysSubmit(1);" />
		    </ex:buttonbar>

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

            <ex:cardrow runat="server" id="cr">
                <ex:cardcolumn runat="server" id="cc">
                    <ex:cardlistview runat="server" id="csPeople" showheader="True" customizecolumns="False" customizerows="False">
	                    <ex:listview runat="server" id="lstTypes" Caption="People" CaptionID="13" onquery="lstTypes_OnQuery" ongetdata="lstTypes_OnGetData" showwaitmessage="True" ScrollBar="None" ShowPageSize="False">
                            <Columns>
                                <ex:ListViewCheckBoxColumn runat="server" id="colHeaderSelected" Type="Standard" width="2%" caption="Activeer Synch" captionid="0" />
                                <ex:ListViewCheckBoxColumn runat="server" id="colHeaderSendRequests" Type="Standard" width="2%" caption="Verstuur verzoeken" captionid="0" />
                                <ex:ListViewCheckBoxColumn runat="server" id="colHeaderExchangeID" Type="Standard" width="2%" caption="Vul ExchangeID" captionid="0" />
                                <ex:listviewcolumn runat="server" id="colHeaderID" width="1%" caption="ID" captionid="0" />
                                <ex:listviewcolumn runat="server" id="colHeaderName" caption="Name" captionid="206" />
                            </Columns>
		                </ex:listview>
		                <ex:bcerrormessages runat="server" id="errNoDataFound" Mode="Notification" />
                    </ex:cardlistview>
                </ex:cardcolumn>
            </ex:cardrow>

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