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?
|
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!
|