NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: RichBowman on March 06, 2012, 04:49:25 AM
-
I have a report that I print to pdf and display. I have specified '_blank' in the Target Frame field of the template. Firefox works -- it opens the pdf in a new tab. IE8 does not. It opens a new instance of IE, displays the pdf progress bar, but does not display the pdf. I would like it to open the pdf in a new tab like Firefox does. Any ideas?
Using C8.0.8778 and NT 6.25
Thank you,
Rich
-
This is a known IE8 problem. There is a post on this NG and the solution was to detect the browser and change the target to _self if IE8 was detected.
-
I didn't have this problem in NT5 but once I converted my app to NT6, I was having the same issue that you came across. I have placed the following in the Target Frame under the On-Click tab to resolve the issue:
CHOOSE(p_web.UserAgent='msie8','_self','_blank')
HTH...
Alan
-
Thank you, the line of code works great.
Rich