I am trying to validate some fields in DIV and if theres no validation error, I would show a comfirmation popup, below is my code, apparently the popup doesn't appear, if I remove the Page_ClientValidate(); and the popup will show. Please kindly advice. Thanks.
<asp:Button ID="uibtnVoucherIssuance" runat="server" Text="<%$ Resources : Resources, uiIVouchers %>"
OnClientClick="if(typeof(Page_ClientValidate) == 'function') Page_ClientValidate(); if(Page_IsValid){return confirm('Proceed with voucher issuance?');}"
ValidationGroup="Issuance" />