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

Free Support Forum - aspose.com

ASPOSE.WORD do not work from AJAX Update Panel

I have button inside Microsoft AJAX Update Panel. the button click event has the following code.

string srcFileName = @“d:\Test\Test1.doc”;

Document doc = new Document(srcFileName); //new doc instance

doc.Save(“test2.doc”, SaveFormat.Doc, SaveType.OpenInWord, Response);

//open the document in word.

When I click the button inside the ajax panel it does not open the document. I get the following error message. Please open the attachment to see the error message. Please help me asap.


Thanks for your inquiry. This question is answered in http://www.aspose.com/Community/Forums/114529/doc.Save-quot-Test.doc-quot-SaveFormat.Doc-SaveType.OpenInWord-Response-does-not-work-inside-AJAX-update-panel-button-click-event/ShowThread.aspx#114529

Best regards.