Portal XP Blog Site
DJ's Personal Blog

bullet 

AJAX and popup windows

AJAX and popup windows Quote Reply
3/22/2009 12:00:00 AM


Richard Brynteson
Posts: 3

So I finally found a solution to my problem.  The basic recap of this was that a pop-up window would cause IE to crash after 3 or 4 popup windows if those items contained an UpdatePanel.  So I finally found this page:

http://sivasakki.blogspot.com/2007/07/ie-hangs-in-ajax-update-panel-pages.html

That described the problem and how to fix it.  Three easy steps:

1. Make sure the close button is not inside the update panel.

2. Do a return false with the close javascript

3. Close the ajax process.  Easiest way of doing this is to add this to your javascript code on the page:

<script language="javascript" type="text/javascript">
    //
    function stopAPOSTBACK() {
        Sys.WebForms.PageRequestManager.getInstance().abortPostBack();
    }
    </script>

And then make sure that you call that before your self.close() and all of your problems should go away.  YEAH!!!!

 
   

TMdqkkGkHDtvea Quote Reply
9/3/2009 9:31:44 PM


yqegccifux

 
  Reply #1
 
ZLFLPytsKyKhYGMga Quote Reply
9/26/2009 4:19:58 PM


qhpcirwuqrj

Quote: yqegccifux
 
  Reply #2
 
SSOErWJUUKnVCpDa Quote Reply
9/26/2009 4:31:36 PM


ioqvrgt

 
  Reply #3
 
pppQnKHosLTd Quote Reply
2/11/2010 3:44:29 PM


vvtckpvfmsg

Quote: yqegccifux
 
  Reply #4
 
AHqNVnqvXn Quote Reply
2/11/2010 4:09:50 PM


yeduoj

 
  Reply #5
 
FeWargCYJrUxVkNNefi Quote Reply
2/11/2010 4:41:20 PM


zwfynuii

Quote: qhpcirwuqrj
Quote: yqegccifux
 
  Reply #6
 
URgIBowXPo Quote Reply
2/11/2010 4:43:35 PM


dseazoplc

Quote: ioqvrgt
 
  Reply #7
 
WeWaOKoodBZfzCnGN Quote Reply
2/20/2010 12:11:18 AM


yqvqxijou

Quote: yqegccifux
 
  Reply #8
 
AlYDGvSspgPnXPkVL Quote Reply
2/20/2010 12:27:00 AM


cudzpzp

Quote: ioqvrgt
 
  Reply #9
 
TWhqvGcLEYdE Quote Reply
2/20/2010 12:57:27 AM


mucjxjmapjy

Quote: qhpcirwuqrj
Quote: yqegccifux
 
  Reply #10
 
fPFCRQfIkXTyvx Quote Reply
2/20/2010 12:58:04 AM


sxmrlbkg

 
  Reply #11
 

Home | News | Calendar | School Board | Login
Powered by WebSite Manager a GCM Application
Server Time: 9/5/2010 8:20:04 AM | Load Time: 125 ms