Rank: Newbie Groups: Member
Joined: 11/19/2014 Posts: 1
|
Hello there,
We are working on Essential Objects Total, especially PDF. All the demos and a few sample projects we created were very good. Very impressive. We have a few questions:
1. We tried to convert an aspx page into PDF. When we use AspxToPdf control, none of the js / css got loaded and the page looked very weird.
2. When we did HtmlToPdf.ConvertUrl, the session variables are ignored and the PDF of the login page is showing up.
3. Importantly, here is our scenario. We have a dashboard where we have a bunch of client side controls. We would like to display the dashboard as PDF after all the controls are loaded on the client side. What would be best approach to accomplish this?
Thanks in advance.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, The mising js/css issue when using ASPXToPDF is usually caused by DNS configuration error. Please see here for details about how to troubleshoot this problem: http://www.essentialobjects.com/doc/4/web/troubleshoot.aspxIt is normal that ConvertUrl ignores your session variable because the session between your browser and your server and the session between your application that calls ConvertUrl and your web server are two totally different sessions. The best approach for your case would still be using ASPXToPDF since that automatically takes care of the session for you. So all you need to do is to follow the steps in the above troubleshoot link and it should resolve the issue for you. Thanks!
|