Hi I wrote a webForm that is used to display a ".pdf" document receiving from one other webForm the path of the file by queryString.
The all is working well but if from acrobat reader somebody try to save the file in local on openDialog is displayed the name of webForm ("PopVisPdf.pdf").
the question is:
How can display the real name of file in this situation ?
the code of webForm that I use:
protected void Page_Load(object sender, EventArgs e)
{
CryptoString Uncrypt = new CryptoString();
string id = Request.QueryString["Id"];
string pathPdf = Uncrypt.DecryptString(id);
Response.ContentType = "application/pdf";
Response.TransmitFile(pathPdf);
Response.End();
}
Thankyou in advance for helping
Piercarlo