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.
|
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.aspxhttp://doc.essentialobjects.com/library/4/eo.pdf.htmltopdfoptions.maxloadwaittime.aspxAlso 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.aspxNote 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!
|