Welcome Guest Search | Active Topics | Sign In | Register

Multiple PDFs in one Postback? Options
John
Posted: Wednesday, June 10, 2015 11:03:29 AM
Rank: Member
Groups: Member

Joined: 6/12/2013
Posts: 13
I'm searching for a way to generate multiple pdfs in ONE postback. I've tried the documentation and searching the forums but haven't run across anything helpful. I did try just setting up a loop that ran through twice to generate pdfs in the same fashion I was already generating single pdfs but that resulted in only one pdf being generated that could not be opened. Any suggestions?
eo_support
Posted: Wednesday, June 10, 2015 2:06:47 PM
Rank: Administration
Groups: Administration

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

I am not sure if I understand your question correctly. You can create as many PDFs as you want in one postback. However only ONE can be carried down to the browser along the HTTP response object. The iron rule here is a single HTTP response object carries a single document ---- usually it's a HTML document, however it can be other type of document as well. If you wish to carry multiple PDF files down to the browser, you must use multiple HTTP request/response pairs. One way to generate multiple HTTP request/response pairs is to use multiple iframes --- each iframe will have its own request/responses. Or you can still use a single response, but zip multiple PDF files into a single zip file and then send down that single zip file. Details about these implementation options are beyond the scope of our support though, so you would need to work those out yourself.

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.