open in another window with asp

E

eddie wang

I have an the following asp. How to have this asp to open in another
window when it is called? Thanks!

<% something %>
 
B

Bob Barrows

eddie said:
I have an the following asp. How to have this asp to open in another
window when it is called? Thanks!

<% something %>
This is only possible in client-side code.
 
J

Jeff Cochran

I have an the following asp. How to have this asp to open in another
window when it is called? Thanks!

<% something %>

Opening another window is client side, not ASP related. Try a
Javascript group or Google.

Jeff
 
A

Aaron Bertrand - MVP

<% something %>

Easy!

<% something in a new window %>

Ok, really now, ASP does not have any concept of what a window is. ASP runs
on the *server* and doesn't care which window you load things in. It is
merely responding to a request from any window on the client.

Now, if you could be more specific (e.g. I am trying to change the target
window of response.redirect), you might get a more useful response (e.g.
http://www.aspfaq.com/2052).

And as others have stated, if you're trying to get <a href=somepage.asp> to
open in a new window, please see a client-side group.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,126
Messages
2,570,750
Members
47,308
Latest member
TorriLangr

Latest Threads

Top