Welcome Guest Search | Active Topics | Sign In | Register

Unable to save as PDF when using Chrome Options
Advocate HRIS
Posted: Monday, June 29, 2015 2:44:26 PM
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.
eo_support
Posted: Monday, June 29, 2015 5:22:10 PM
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!
Advocate HRIS
Posted: Tuesday, June 30, 2015 10:25:26 AM
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).
eo_support
Posted: Tuesday, June 30, 2015 12:45:27 PM
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.aspx

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.