Free Support Forum - aspose.com

Not able to download word doc

Hi,
I am using Aspose.Word in a project with asp.net. I am able to download a word document if i dont redirect to some other page from the page i m invoking save method to download document. But if I use a Response.redirect in one of my asp.net pages, just after following statement

doc.Save(
“PersonalizedLetter.doc”,
SaveFormat.FormatDocument,
SaveType.OpenInWord,
this.Response);


it goes to the redirected page without downloading the document.
Any suggestions.?
Thank you
Vinay

Sorry, but I think it’s not within Aspose.Word scope. You will probably be better off looking in some ASP.NET developers forums for the solution.

I think we had this or similar question before, but did not have a good solution I guess.