Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > Embed pdf View modes: 
User avatar
Member
Member
Jeff Gow - 10/17/2012 2:17:55 PM
   
Embed pdf
Currently, we display our pdf files in an iframe. The issue with this is that if there are links in the pdf, when they are clicked, they open in the iframe instead of the window itself.

To combat this, I am trying to use the embed tag but I am having issues getting the document to show. When I try to get the file using <%# GetFileUrl() %> as the source, it will not display (red x). If I hardcode a document, then it displays and I get the expected functionality (links opened within the pdf are opening in the main window).

I use the same GetFileUrl() command in the iframe. Not sure what I am missing.

User avatar
Member
Member
Jeff Gow - 10/17/2012 2:25:05 PM
   
RE:Embed pdf
ugh this is supposed to be in V6

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 10/18/2012 12:34:32 AM
   
RE:Embed pdf
Hi,

I will post just a link to the correct thread

Best regards,
Juraj Ondrus