|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Hi, when I use MVCToPDF.RenderAsPDF(), I get ok the pdf file corresponding with the view I want to render as pdf. In windows ok. But when I try to use the same function in safari in iPad, I don't get the pdf, I get a large text instead. Is there any solution to render the pdf in ios like in windows?
Thanks in advance!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
This has to do with your iPad configuration. The PDF file is properly generated. But your Safari could not display it. You may want to check whether you have Adobe Reader installer on your iPad.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Hi, I'va installed adobe acrobat reader om the iPad and the result is the same, I don't get the pdf..
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Do you still get a large text?
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Yes, the same result. It displays a large plain text instead a pdf file.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, I am not sure what tell to tell you then. The root of the problem is your iPad does not automatically load PDF file. You may want to try to load a static PDF file from Safari, or try our demo page and see if it works for you: http://www.essentialobjects.com/Products/EOPdf/ASPXToPDF.aspxThanks!
|
|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
If I try your test page on my iPad it works fine but I do not use ASPXToPDF1.RenderAsPDF(), I Use MVCToPDF.RenderAsPDF() becasue I'm using a MVC application. Do you have a test page for MVCToPDF.RenderAsPDF()?
Thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
We have posted a new build that should this issue. Please download it from our download page and let us know how it goes.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Ok, I 've download newest dll for essential objects and now it works fine. I unistall adobe acrobat reader from iPad and it work too, I see the pdf file. But when I display the pdf and I want to come back to the previous page to return to the page from I ran the pdf, I see all my controls (input type=text) with the correct value but I've a spinner jquerty control that lost his value. I fill the spinner control in the document.ready event of jquery and I've chech that the document.ready event is not lunched when I navigate back afetr generate the pdf. Why do not the spinner control maintain his value that has before I lunch the pdf and the rest of controls yes it maintains?
thanks!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
That has to do with your page and that's not something we can help you to troubleshoot. :) Based on our experience, using back button to load a page is very different than loading the page initially because it skips a lot of JavaScript events. However that part is unrelated to EO.Pdf product. So that's something you have to resolve yourself. Sorry about it!
|
|
Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Ok after downloading the latest version of the EO dll it works fine now!
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Great. Thanks for confirming the fix!
|
|