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

Free Support Forum - aspose.com

Example code errors out on doc.Save(Response- "out.doc"- ContentDisposition.Attachment- null);

In the example provided by Aspose for Download , the project AjaxGenerateDoc gives compilation error: No overload for method ‘Save’ takes ‘4’ arguments for

doc.Save(Response, “out.doc”, ContentDisposition.Attachment, null);

Please let me know what all parameters to replace.

Hi Aparna,


Thanks for your inquiry. Please use the Aspose.Words DLL from net2.0 folder. It will serve your purpose. Please read the overloaded methods of Document.Save from here:
http://www.aspose.com/docs/display/wordsnet/Save+Method

Please read the following documentation link for your kind reference.
http://www.aspose.com/docs/display/wordsnet/Sending+to+a+Client+Browser

Moreover, the net3.5_ClientProfile folder contains assemblies to use with .NET Framework 3.5 or 4.0 Client Profile. Note that this assembly excludes the Save overload accepting an HttpResponse object. This is by design as the client profile excludes System.Web assembly.

Hope this answers your query. Please let us know if you have any more queries.