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="javascript" id="popupJS">
<!--
function showPopup(link)
{
var lBufferX=10,lBufferY=30,lWidth=400;
var lLeft=screen.availWidth - lWidth - lBufferX;
window.open(link, "_blank", "scrollbars=yes, resizable=yes, toolbar=yes,
location=yes, menubar=yes, width=" + lWidth + ", height=" +
(screen.availHeight - lBufferY) + ", left=" + lLeft, true);
}
//-->
</script>
and make your link (or whatever) something like this
<a href="javascript
: 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.Redirect("WebForm1.aspx", 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