Free Support Forum - aspose.com

Ajax and doc.Save do Response

I have used the Save function in classic asp.net with no problems. The function saves the data to Respone to download the contents to the user
The function is :
doc.Save(“Demo.doc”,Aspose.Words.SaveFormat.FormatDocument,Aspose.Words.SaveType.OpenInWord,Response);
But when I use the same code in Ajax i get the erro message Response is not available in this context.
Is there any way to get the data from the server (mimic download) with Ajax ?

We have not tested with Ajax yet. Please instruct me on how to build a test environment in Ajax and I will try to find a fix or workaround for this problem.

Sorry, I have not had a chance to test with Ajax yet. We are a bit overwhelmed with implementation of new features for the new version. I have logged the need for Ajax testing to our defect base as issue #1200. We will get back to it as soon as time permits.

Best regards,