Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > App Locking on Opening New Browser Window

Reply
Thread Tools

App Locking on Opening New Browser Window

 
 
JJ_377@hotmail.com
Guest
Posts: n/a
 
      06-27-2005
I have these lines of code in my vb.net code behind (on load) of my
webform:

btnViewRequests.Attributes.Add("onclick",
"a=window.open('MainForm.aspx?LocationID = " & LocationID &
"','_new')")
btnReference.Attributes.Add("onclick",
"a=window.open('../RefFiles/Reference.htm','_new')")

If I do the following, the web app locks (hourglasses forever):

1. click on btnViewRequests and close the window that opens (which by
the way minimizes in the status bar from whence I have to open it).
2. click on btnReference and close the window that opens (this one
minimizes initially as well).

3. click on btnViewRequests again - THE BIG FREEZE! (the app locks up)

I have tried unearthing an error by putting breakpoints in, try-catch
blocks and inspecting the Event Viewer - no leads at all, can't even
get the code to run to a breakpoint because it never gets that far...

I note that if I keep the first new window open, no freeze occurs.

HELP!

My thanks!

J.

 
Reply With Quote
 
 
 
 
JJ_377@hotmail.com
Guest
Posts: n/a
 
      06-28-2005
For the curious: I created a new html page from the legacy html page;
apparently, there was something in the original html page that caused
the problem.

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
locking a div to the top or bottom of browser window sso Javascript 2 09-03-2009 03:54 PM
Locking locking resolution Frontpage raiderhawk General Computer Support 0 01-08-2008 01:42 AM
increase in cpu usage on locking and locking the system sowmya.rangineni@gmail.com Computer Support 0 06-15-2007 12:06 PM
Application locking to support optimisitc locking ? Timasmith Java 4 11-01-2006 12:42 AM
Opening a new browser window to a specific size without the menu bar and address window. UJ ASP .Net 2 06-27-2005 08:21 PM



Advertisments