Change hyperlinks target to "newtab" only in one page
Posted on 2010-08-12
I have a page that shouldn't be closed or changed to another one without user confirmation.
But I have HyperLinks in masterpage that loads on same page, but in this page, these links must be target to load on another tab (to keep the page open).
I'm thinking to do it by getting all the HyperLinks from masterpage and changing, programatically, the target to "newtab" in page load method.
And I have to do same thing (but targeting to "sametab") with other pages.
There is a better way to do that?
Thanks in advance!