I have a Javascript call:
window.location.replace(instanceExtension(baseURL + "/AccountsReceivable/PrintStatementOfAccount?clientId=" + clientId, -1));
And the PrintStatementOfAccount() method takes a few seconds so I've added a mask to the page indicating that the PrintStatement is loading.
The ASP method is defined as:
public FileResult PrintStatementOfAccount(long clientId) { ... }
All works great, but I would like to disable the wait mask once the file returns. Any ideas on how I can achieve this?