We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Capture close event of document browser

I am opening doc from a aspx page using:
doc.Save(“output.doc”,SaveFormat.Doc, Aspose.Words.SaveType.OpenInBrowser, this.Response);
Now I need to capture the close event when user closes this browser by clicking the cross button at the corner of the browser.

Thanks for your inquiry. Aspose.Words does not control browser windows opened on client side. Aspose.Words is component for creating and edition Word document.
I think you can try using javascript to achieve this. Maybe this could be useful:
Best regards.