<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Act2SignDossierDelete.aspx.vb" Inherits="Act2Sign.Synergy.Act2SignDossierDelete" %>
<%@ 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 DeleteDossier(HID) {
            var callbackCancel = function () { SysSetValue('DeleteHID', HID); if (SysDialog.returnValue == true) { SysSetValue('CancelFirst', 1) } else { SysSetValue('CancelFirst', 0) } SysSubmit(1); };
            var callbackDelete = function () { if (SysDialog.returnValue == true) { var msg = SysTerm(6340, "Question"); var explanation = 'Dossier eerst annuleren in de onderteken-omgeving? De ondertekenaars krijgen hiervan een bericht.'; SysShowModalPopup(SysConfirmUrl(4, 6593, msg, explanation), null, SysConfirmWidth(msg), SysConfirmHeight(msg), function () { callbackCancel(); }, null, 'scroll:no;'); } };

            var msg = SysTerm(6593, "Confirm");
            var explanation = 'Dossier verwijderen in de onderteken-omgeving?';
            SysShowModalPopup(SysConfirmUrl(4, 6593, msg, explanation), null, SysConfirmWidth(msg), SysConfirmHeight(msg), function () { callbackDelete(); }, null, 'scroll:no;');
        }
    </script>
</head>
<body>
    
	<form runat="server" id="Baco">
		<ex:inputfield runat="server" id="DeleteHID" validationas="Int" validationdefault="0" hidden="true" />
		<ex:inputfield runat="server" id="CancelFirst" validationas="Int" validationdefault="0" hidden="true" />

		<ex:cardcontrol runat="server" id="Card" action="show" customizable="false" >
		<ex:header runat="server" id="hdr" caption="Act2Sign" captionid="0" captionsuffix=":Dossiers verwijderen" captionsuffixid="0">
		</ex:header>

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

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

		<ex:listview runat="server" OnGetData="RequestDossiers_OnGetData" id="lvRequestDossiers" ScrollBar="None" ShowPageSize="False">
			<ex:ListViewColumn runat="server" id="colID" caption="ID" captionid="0" width="5%" />
			<ex:ListViewColumn runat="server" id="colDescription" caption="Description" captionid="4243" />
			<ex:ListViewColumn runat="server" id="colSignersCount" caption="Aantal ondertekenaars" captionid="0" width="10%" />
			<ex:ListViewColumn runat="server" id="colSignees" caption="Ondertekenaars" captionid="0" />
			<ex:ListViewColumn runat="server" id="colDeleye" caption="Delete" captionid="16636" width="100px" />
		</ex:listview>
	</form>
</body>
</html>