Author: kmcnet | Posted on: 6/19/2008 11:13:45 AM | Views : 501

Hello Everyone and thanks for your help in advance.  I am working on a web form application that uses a component to generate a PDF file.  My problem is that once the PDF is generated, the file must be saved using a specific file name.  My problem is that when the Save As box is opened with the name of the ASPX page as the default name of the file.  I have tried to change the name of the file using the following:

 

Filename = "inline;filename=myFileName.pdf"

Response.Clear()

Response.Buffer = True

Response.ContentType = "application/pdf"
Response.AppendHeader("Content-Disposition", FilenameResponse.Appe ...

Go to the complete details ...