Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a new window from a link button

Status
Not open for further replies.

Dross

Programmer
Aug 16, 2001
212
US
I am using a link button to open a new page to display a map. I can get it to open in the same window when clicked, but I need it to open in a new window. ANy suggestions? My code looks like:

Response.Redirect(" & strMapID & " &Mapname=" & strMapName)
 
use javascript in your link button via .attributes.add("onclick","javascript:someFuncToOpenWindow('arg')")

you can send any arguments you need that way and javascript will just open the aspx page you need.

make sense?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top