Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Participant
1180 Points
236 Posts
Sep 19, 2003 11:35 AM|LINK
response.addheader("Content-Disposition", filename=yourfilename.doc")
response.addheader("Content-Disposition", "attachment; filename=yourfilename.doc")
Michael.G.
Participant
1180 Points
236 Posts
Re: Response.ContentType= "application/vnd.ms-word"
Sep 19, 2003 11:35 AM|LINK
response.addheader("Content-Disposition", filename=yourfilename.doc")Or if you want that the a "Save as"-Dialog is appearing:response.addheader("Content-Disposition", "attachment; filename=yourfilename.doc")Webmaster of a small ISP :-)
All my code suggestions are and will be written in VB.net