mufasa8005
Programmer
Hi there, I am running ASP.net 3.5 on my personal machine as well as on my testing machine. My live web server is running 64-bit Windows.
My problem is that I have coding set that instead of opening a PDF file directly in the browser, it needs to popup an Open/Save dialog box for the user to open or save the document in another location.
It works perfectly on my local machine as well as on the Dev machine, but on the live server, when a user clicks on the link to activate the open/save dialog box, it opens the popup but then just disappears. What could the problem be?
The coding I use is:
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=Certificate of Membership.pdf");
My problem is that I have coding set that instead of opening a PDF file directly in the browser, it needs to popup an Open/Save dialog box for the user to open or save the document in another location.
It works perfectly on my local machine as well as on the Dev machine, but on the live server, when a user clicks on the link to activate the open/save dialog box, it opens the popup but then just disappears. What could the problem be?
The coding I use is:
Response.ContentType = "application/pdf";
Response.AddHeader("Content-Disposition", "attachment; filename=Certificate of Membership.pdf");