
April 26th, 2002, 06:43 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 22
|
|
|
<i><b>Originally posted by : Teemu Torvikoski (teemu.torvikoski@atex.fi)</b></i><br />Hope this code block helps you!!<br /><br /><br />Private Sub button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnXXX.Click<br /><br />Dim sUrl As String = "someurl.aspx"<br />Dim features As String = "'height=800;width=320;left=100;top=100;location=no ;menubar=no;resizable=yes;scrollbars=yes;status=no ;titlebar=yes;toolbar=no'"<br /> Dim sScript As String<br /><br /> sScript &= "<script language=javascript>"<br /> sScript &= "window.open('" &sUrl "',''," & features & ");"<br /> sScript &= "</script>"<br /> Response.Write(sScript)<br /> End Sub<br /><br /><br />------------<br />Neil at 4/24/2002 12:14:03 PM<br /><br />I want to have a window popup when the username/password entered on webform1.aspx fails the sql login procedure in webform1.aspx.vb<br /><br />All msdn samples point to displaying the information on the same web page.<br /><br />thanks in advance<br /><br />Neil.<br />
|