Showing posts with label Popup IE hangs. Show all posts
Showing posts with label Popup IE hangs. Show all posts

Monday, July 16, 2007

IE hangs in AJAX Update Panel pages

Badly designed UpdatePanel may cause this issue in the popup IE page. For example, you have UpdatePanel in the start of the page. Then have a window.close button inside this UpdatePanel. Just close and open this 2 or 3 times from base IE. After that it hangs.

Resolution:

1. close button should not post back, so you can have return false in OnClientClick event
2. close button should be outside of update panel
3. call Sys.WebForms.PageRequestManager.getInstance().abortPostBack() on body unload