Welcome Guest Search | Active Topics | Sign In | Register

EO.PDF for .Net 2015 aspx to PDf issue Options
AGR
Posted: Wednesday, November 18, 2015 7:47:09 AM
Rank: Newbie
Groups: Member

Joined: 11/19/2013
Posts: 3
Hi Guys,
I am using EO.Pdf for .Net 2015 to export an aspx page to PDF. Everything seems to be ok when using IE11 or Edge but when trying to export the aspx page from chrome the result is something like aspx-page.aspx instead of filename.pdf.
I didn't have this problem when using the EO.PDF for .Net 2013 version.
Any suggenstions? Thanks.

eo_support
Posted: Wednesday, November 18, 2015 3:12:41 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

We are not aware of such problems. You can try to isolate the problem into a test project and send the test project to us. Once we have it we can take a look and see what we can find. See here for instructions on test project:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
AGR
Posted: Friday, November 20, 2015 7:29:28 AM
Rank: Newbie
Groups: Member

Joined: 11/19/2013
Posts: 3
Hi,

Problem solved, thanks anyway for your support.
The thing was I used ASPXToPDF1.RenderAsPDF(filename) where filename contained "Western European (Windows)" characters (Czech language). It seems Chrome doesn't deal well with this encoding and treated filename as an empty string.
Converting filename to "iso-8859-8" encoding solved this issue.

Thanks!
eo_support
Posted: Friday, November 20, 2015 8:41:38 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Great. Thank you very much for sharing the solution!


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.