PDA

Click to See Complete Forum and Search --> : Response.redirect help


griffitd
Dec 20th, 2004, 10:25 AM
I have a web page that has 6 image buttons, round each one a panel.

When i click an image i toggle the panel (to identify thta it has been selected). In order to stop a new web page opening when I click the image buttons I don't have <BASE target = _blank>

when so many are selected I click a GO button to open a page (using resposnse.redirect("page" & params) and pass it a string with the images I have selected.

When I click GO I want to open a new web page, but it opens in the current window. I use response.redirect as I pass parameters to the page.

Thanks

veryjonny
Dec 22nd, 2004, 01:36 PM
As far as I know, You cannot open a "new" window with Response.Redirect

You will need to write client Side javascript for it.

<Script Language="javascript">
window.open("/newpath/newpage.asp?Var1=somevalue&var2=someothervalue");
</script>