Welcome Guest Search | Active Topics | Sign In | Register

ASPXToPDF1.RenderAsPDF time out option Options
Ismael
Posted: Friday, August 19, 2011 2:50:03 PM
Rank: Member
Groups: Member

Joined: 2/3/2009
Posts: 28
Is there a way to give the ASPXToPDF1.RenderAsPDF more time to render?

On my local systems the page renders correctly but on the server it takes longer to render the page so not all the content is loaded in time.

My page is basically loading the Bing map using javascript, ajax code.

Please help.
eo_support
Posted: Friday, August 19, 2011 3:37:48 PM
Rank: Administration
Groups: Administration

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

Yes. You can control two different time out values:

http://doc.essentialobjects.com/library/4/eo.pdf.htmltopdfoptions.minloadwaittime.aspx
http://doc.essentialobjects.com/library/4/eo.pdf.htmltopdfoptions.maxloadwaittime.aspx

Also if you use JavaScript and AJAX to load maps, you may also want to explicitly tell the converter when you are ready to converter:

http://doc.essentialobjects.com/library/4/htmltopdf/eo_js.aspx

Note the manual trigger feature was added very recently. So make sure you have the latest build first if you wish to use that feature.

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.