From the server - you can't. You can get this to occur from the client side
but you need to open it like a Popup does.. Add this to the ASPX file
<script language="javas cript" id="popupJS">
<!--
function showPopup(link)
{
var lBufferX=10,lBu fferY=30,lWidth =400;
var lLeft=screen.av ailWidth - lWidth - lBufferX;
window.open(lin k, "_blank", "scrollbars=yes , resizable=yes, toolbar=yes,
location=yes, menubar=yes, width=" + lWidth + ", height=" +
(screen.availHe ight - lBufferY) + ", left=" + lLeft, true);
}
//-->
</script>
and make your link (or whatever) something like this
<a href="javascrip t: showPopup('Help .Aspx')">
<img src="images/help.gif" alt="Context sensitive help...">
</a>
By the way - pop-up blockers will stop this from working.
"ton" <vr*@home.nl> wrote in message
news:c0******** **@news2.tilbu1 .nb.home.nl...
Hi,
can someone please tell me hou to open a second webpage, I tried:
Response.Redire ct("WebForm1.as px", False)
but this replaces the existing page with the new one. All I want is a
second page.
(I write everything in VB.NET)
Many Thanx
Ton