When I try the examples to download a pdf from chrome, the pdf displays in the viewer but when I click save icon it tries to save with the page name of:
How can I get it to save/prompt for save as PDFDocument.pdf?
5 Answers, 1 is accepted
Could you please let me know whether you have experience this behavior with our live examples? Generally you can try enabling OpenInNewWindow property in the ExportSettings. Nevertheless I would appreciate if you can provide a small runnable sample where the issue can be observed in order to investigate the cause for this issue further.
I am experiencing the same with the online examples. I will set up an example.
Could you please send a link to the example that you are trying to export. Also which browser you are using. Could you please try with the three most popular browsers (FireFox, IE, Chrome) and let me know whether you have experience the same behavior in all of them?
It works in IE11 and Firefox but not Chrome on Win7 or win8.1. See the screen shot to explain.
The example I am trying is:
Click the "Download Document" button and it will put in the incorrect File name and type.
I examined the live example and i noticed that there is a typo in the Response.AppendHeader. Here is the current code. And the correct one is without colon.
I will make sure that the issue will be resolved in the next update of the demos.