Free Support Forum -

Adding a word document to the response object as an attachment?

I’d like to return the word document to the user from the browser and then redirect them back to another ASPX page. Is this possible with the inbuilt save to response methods in Aspose.words .net?


<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. No, you can’t do this using inbuilt Save method.

Document.Save(String, SaveFormat, SaveType, HttpResponse) method just sends the document to the client browser.

Please see the following link for more information.

Best regards.