.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old April 24th, 2002, 02:14 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 22
Do not know how to create a popup window from .aspx.vb file

<i><b>Originally posted by : Neil (neil@aspkm.net)</b></i><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 />

Reply With Quote
  #2  
Old April 26th, 2002, 06:43 AM
Steve Schofield Steve Schofield is offline
Contributing User
ASP Free God 20th Plane (14500 - 14999 posts)
 
Join Date: Dec 2002
Posts: 14,575 Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level)Steve Schofield User rank is Corporal (100 - 500 Reputation Level) 
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 />

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > Do not know how to create a popup window from .aspx.vb file


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT