Automatically opening Save result in a different window

Hello,

I’m using a popup window to interact with Aspose. In my code, I’m calling the document.Save method to send the output to the client browser, which works great. At the same time, I would like to update a status field in the popup as a result of the PostBack.

I understand from another posting that I can only have one output response directed back to the client browser, either the Word document or the HTML and I’ve seen the PopupWindow method in the Aspose.Words.Demos project.

To use the PopupWindow technique, it looks like I would need to save the Word document on my server first, which I’d really like to avoid.

So, I’m wondering if anyone has come up with an alternative to either: (1) output both the Word document as well as update the HTML in the ASPX that generates the Word document or (2) find an automatic way that would delete the temporary file that would be stored on the server (so I could use the PopupWindow method).

Mike

Hi Mike,

Unfortunately, I'm not an expert in Web development. However, I will try to find a solution for you in the next few days. I would also greatly appreciate if anyone else could make a suggestion.

Thanks, Dmitry. Anything you can do is greatly appreciated.

Mike,

I still have no idea how to implement this, neither do web developers we asked. I would recommend you post this inquiry on a special forum such as an MSDN forum. I am sure community members will be able to suggest something.

Thanks.

Thanks for checking, Dmitry.

What I ended up doing is using an ASP.NET tool that generates a “Please wait” message for a moment, and then opens the Aspose result. It’s not ideal, but it’s the best I have come up with.