I need to open a new page

  • Thread starter Thread starter bill
  • Start date Start date
B

bill

I would like to click a button on my web form and have the response
displayed in a new browser. The initial browser remains open with the
original content.

This is for displaying reports, so the user can modify their parameter
selection in a web form, view the results in a new page, and compare it to
other output screens.

I'm doing it now using client-side javascript, but I would rather do it in
the code-behind, because it is easier to maintain.

I looked for a way with response.redirect, but I couldn't find anything.

I would appreciate any input.

Thanks
Bill
 
cant... what I mean is that the server can only return to where the
clientside told it to. Means you need a TARGET on the clientside to get that
to work, and not try to guess from the server. The server has no concept of
windows, frames, etc... just does what it's told (usually :})
 
Thanks!
-Bill
Curt_C said:
cant... what I mean is that the server can only return to where the
clientside told it to. Means you need a TARGET on the clientside to get that
to work, and not try to guess from the server. The server has no concept of
windows, frames, etc... just does what it's told (usually :})
 
How about some basic HTML like this?

<a href="SomePage.aspx" target="_new">Click Me</a>
 
Back
Top