Jeff Gow
-
10/17/2012 2:13:41 PM
Display PDF with embed
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
|