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.