Author: Guy007 | Posted on: 5/5/2009 7:19:36 AM | Views : 301

I have an ASP.NET application, and I on a particular page I have a button.  When the user clicks it, a new page will be generated.  This html code i am intercepting on the server, and sending it to the client as a file, with the HTML extension renamed to DOC (response.AddHeader("Content-Disposition", "attachment;filename=myfile.doc") , so that the file now gets opened as a Word Document.

The problem is that this html code contains references to images / css files, which are accessible only on the server.  Therefore, when the ...

Go to the complete details ...