Hello,
Is there a return code to evaluate or another means of determining if an export to Excel (or any other export) succeeded or not?
I help develop a web application that exports reports to excel or pdf depending on what the end user selects from a “print option” asp page. The "print option" asp page opens the pdf within itself, but the exported excel file is opened as an attachment (this is on purpose). If the excel export option is chosen, I wish to close the print option asp page after the excel file is created.
Simply calling window.close() after the user selects the export option closes the asp page prematurely and abends the export process. I could use the setTimeout but the amount of time to generate the report varies depending on the amount of data being retrieved.
Any suggestions would be appreciated.
Best Regards,
Carl