Response.redirect w/_new

Discussion in 'ASP .Net' started by G. Dean Blake, Aug 20, 2004.

  1. I want to do a response.redirect but pop up a new browser window.
    Response.Redirect only takes a string so I can't pass a hyperlink object.
    How can I do this from code?
    Thanks,
    G
    G. Dean Blake, Aug 20, 2004
    #1
    1. Advertising

  2. G. Dean Blake

    Karl Guest

    You can use Page.RegisterStartUpScript() and output javascript that will do
    a window.Open()

    Karl

    "G. Dean Blake" <> wrote in message
    news:O%...
    > I want to do a response.redirect but pop up a new browser window.
    > Response.Redirect only takes a string so I can't pass a hyperlink object.
    > How can I do this from code?
    > Thanks,
    > G
    >
    >
    Karl, Aug 21, 2004
    #2
    1. Advertising

  3. Try this

    Response.Write("<script
    type='text/javascript'>detailedresults=window.open("..Your Page
    Here...");</script>")

    "G. Dean Blake" wrote:

    > I want to do a response.redirect but pop up a new browser window.
    > Response.Redirect only takes a string so I can't pass a hyperlink object.
    > How can I do this from code?
    > Thanks,
    > G
    >
    >
    >
    =?Utf-8?B?d2hpZ2dpbnM=?=, Sep 2, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?VHJveQ==?=

    Response.redirect does not redirect from .aspx page

    =?Utf-8?B?VHJveQ==?=, Oct 18, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    5,214
    Srowe1975
    Oct 15, 2008
  2. =?Utf-8?B?bWF2cmljazEwMQ==?=

    ASP.NET FORM to new Window '_new' but how to hide menubar, toolbar

    =?Utf-8?B?bWF2cmljazEwMQ==?=, Apr 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,882
    Brock Allen
    Apr 7, 2005
  3. Fred Atkinson

    TARGET="_new"

    Fred Atkinson, Jan 21, 2005, in forum: HTML
    Replies:
    3
    Views:
    16,017
    Fred Atkinson
    Jan 21, 2005
  4. Sal
    Replies:
    1
    Views:
    374
  5. Ron Howard
    Replies:
    2
    Views:
    504
    Ron Howard
    Aug 11, 2004
Loading...

Share This Page