How to open a new page without JavaScript

  • Thread starter Thread starter Ghislain Tanguay
  • Start date Start date
G

Ghislain Tanguay

Hi, I want to open a new page from an asp page without using Javascript.

Is it possible?

Tks
 
<a href="something.aspx" target="_blank">Click me.</a>
or
<asp:HyperLink ID="YourHyperLinkID" Runat="server" Target="_blank">Click
me.</asp:HyperLink>
Ray at work
 
Ghislain said:
Hi, I want to open a new page from an asp page without using
Javascript.

Is it possible?

Tks

You could probably use client-side VBScript. Not portable to other
platforms, of course.

Eric
 
This involves someone clicking the hyperlink though. Not the page opening a
new window at will.
 
Yes Marina, I think it's impossible to open a new asp form in "behind" vb
code of my form.

From de server side it's, I think, impossible to open a new explorer window.
But, I hoped someone had a new, amazing response
 
This involves someone clicking the hyperlink though. Not the page opening
a
new window at will.

True. However, it is the ONLY alternative to using JavaScript to open a
window.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
I didn't see that restriction specified in the OP's post. Assuming that is
what Ghislain wants to happen, my vote goes with your answer. :]

Ray at work
 
:) Yes, he wasn't clear about the requirements.

Ray Costanzo said:
I didn't see that restriction specified in the OP's post. Assuming that is
what Ghislain wants to happen, my vote goes with your answer. :]

Ray at work



Marina said:
This involves someone clicking the hyperlink though. Not the page opening
a
new window at will.
 
The server can't control what is happening on the client's desktop. There
is no way of getting around the fact that at some pt there has to be some
javascript to open the window.
 
Well, there's always Eric's suggestion of VBScript. Technically, that
answers the question, but I think I'll read that answer with tongue-in-cheek
mode in mind. :]

Ray at work
 
Back
Top