Results 1 to 2 of 2

Thread: Response.redirect help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2004
    Posts
    22

    Response.redirect help

    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
    Dave G

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089

    Re: Response.redirect help

    As far as I know, You cannot open a "new" window with Response.Redirect

    You will need to write client Side javascript for it.
    Code:
    <Script Language="javascript">
    window.open("/newpath/newpage.asp?Var1=somevalue&var2=someothervalue");
    </script>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width