pgilfeather
asked on
I am using a LinkButton and want to navigate to another page that opens with blank target
I am using a LinkButton and want to navigate to another page that opens with blank target (target="_blank")
I have used response.redirect(URL) to navigate to the page but the LinkButton wont accept target="_blank" property.
I am using a linkbutton because I need other code to respond to the click event.
If there is an easier way to navigate to a page, respond to the click event and have the page you navigate to open up in a target="_blank" setup then I'll be delighted to hear about it.
Thanks in advance
Paul G
I have used response.redirect(URL) to navigate to the page but the LinkButton wont accept target="_blank" property.
I am using a linkbutton because I need other code to respond to the click event.
If there is an easier way to navigate to a page, respond to the click event and have the page you navigate to open up in a target="_blank" setup then I'll be delighted to hear about it.
Thanks in advance
Paul G
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
onClick="window.open('http://www.pageresource.com/jscript/jex5.htm','mywindow','width=400,height=200')"
put it in the place of your target=...
Rockman