I’m using the iframe control from .net 4.0 for now:
<iframe runat="server" id="iframepdf" width="900" height="1100" src="RenderImage.ashx"></iframe>
When I load the frame with PDF, and it works great with the ashx file.
However, the control has a “Save” icon at the top right for saving, but when I click on it, it wants to name the contents as “RenderImage.ashx” with file type “ashx”. Once I change the name to any pdf filename, it works fine, but I just wonder if there’s a way to correct the “Save” feature. If I could tell the control to save as “{whatever}.pdf” that would be groovy.
If not, that’s okay. I also have a button for downloading. Just thought I’d ask!