I have an ASP.NET page with an iframe on it to display some PDF reports on this page. When the user selects a report type from the drop-down list, I add the necessary report data to the ASP.NET session and change the "src" attribute of the iframe address to the .ashx address that generates the .pdf report. But if Adobe glug-in for viewing .pdf files is not installed in the browser, the browser offers to save the report file, and the name of the proposed file is "HandlerName.ashx". But I want the browser to save the file with the name "Report.pdf". I can do it? Are there any workarounds?
source
share