Hi,
I'm not trying to open the PDF in a new window, I'm trying to make a link ON THE PDF open up in a new window.
I have a page that creates a PDF with links like so:
Dim action As UrlAction = New UrlAction("targetpage.htm")
Dim MyLink As Link = New Link(nX, nY, nW, nH, action)
Dim lbl As Label = New Label("Click Here", nX, nY, nW, 10, Font.Helvetica, 10, TextAlign.Left, Color.Black)
Pg.Elements.Add(MyLink)
The page does not have a form tag that I could insert target="_blank" into. The only thing it contains is the <%@ Page ... %> directive.
When a link is clicked on the PDF, I would like the url (targetpage.htm) to open up in a new window. Currently, the url opens in the current window and the only way to return to the PDF is to click the back button and re-generate the PDF. All of the display settings of the PDF are lost: page number, zoom level, window size, etc.