|
Rank: Newbie Groups: Member
Joined: 3/19/2014 Posts: 4
|
We are displaying the PDF document in a web page and when the user is using Chrome to access the system, and click the Save button that displays in the document controls, the default Save As document type is ASPX. The PDF document type does not display in the Save As dialog box document types. We are using EO.pdf (5.0.68.2) with both ASP.Net 2 and 4.
This functionality works fine with IE8, IE9 and IE11. This issue is only occuring with Chrome.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
Which feature do you use to generate the PDF? Do you use ASPXToPDF or you use HtmlToPdf directly?
Thanks!
|
|
Rank: Newbie Groups: Member
Joined: 3/19/2014 Posts: 4
|
I am actually using both, HTML to PDF in one web application (.net 2) and ASPXtoPDF in the other application (.net 4).
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, If you use Html to PDF, then you will need to write code to set the response content type and send the contents down to the client. The content type for PDF file is "application/pdf". If you use ASPXToPDF, then ASPXToPDF will automatically do this for you. So it should be able to save it as PDF out of box. Our own website uses this feature here and it seems to be working fine: http://www.essentialobjects.com/Products/EOPdf/ASPXToPDF.aspxThanks!
|
|