Advertisement

07.02.2007 at 03:28AM PDT, ID: 22670175
[x]
Attachment Details

Stream PDF to an iFrame and navigate to a Page in PDF

Asked by arif_eqbal in Programming for ASP.NET, Miscellaneous Web Development, Adobe Acrobat

Tags: pdf, stream, iframe

Hi,
I have an iFrame on a aspx page and I am streaming a PDF page stored in database to this iFrame.
Now I would liek that when the PDF file opens on the iFrame it automatically goes to say Page Number 5.
Adobe Reader allows this through "Open Parameters" for eg. if I am navigating to (by setting iFrame src)
www.MySite.com/MyFile.pdf#page=5
It will automatically open the page number 5, due to "#page=5" appended in the URL
Now when I am streaming the File, the iFrame src is typically www.MySite.com/ShowPDFs.aspx hence I am not able to provide the "#page=5".
Is there anyway to modify the URL of the iFrame?
Can I somehow have something like ".pdf"#page=5" appended into the iframe URL without such a location existing and this after the content has been written to it?
ThanksStart Free Trial
[+][-]07.02.2007 at 06:11AM PDT, ID: 19403070

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2007 at 06:21AM PDT, ID: 19403170

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.02.2007 at 06:57AM PDT, ID: 19403456

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.02.2007 at 07:14AM PDT, ID: 19403610

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, Miscellaneous Web Development, Adobe Acrobat
Tags: pdf, stream, iframe
Sign Up Now!
Solution Provided By: LeeKowalkowski
Participating Experts: 2
Solution Grade: B
 
 
[+][-]07.02.2007 at 10:42PM PDT, ID: 19408938

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.03.2007 at 12:44AM PDT, ID: 19409396

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32