I am trying to load multiple pdf files on a web page using object tag. I need to traverse through these files using next, previous, first, last buttons on the page. Here is the scenario:-
1. I have one container page which loads the PDF from binary stored in SQL server.
2. I have second page which is the host page for the container page. This page has the buttons for traversal, buttons for save, clear tags etc. This page contains the object tag as:-
<object id="PDFObject" type="application/pdf" data="PDFContainer.aspx" width="100%" height="500"></object>
I need to load different PDFs on click of the buttons of traversal i.e. next, previous, first and last.
I have tried passing different querystrings to the Container page. However the object tag gets hanged while doing so.
P.S. - I am using Javascipt in PDF files using Adobe Acrobat. I had also posted one query yesterday for displaying PDF in div tag.