When updatepanel is processing, we may not be able to leave that page. If you forcefully leave that page, then memory leak or long pending server side process will take place and IE will hang for some time.
Resolution:
1. Have UpdateProgress and have "Abort Process" button and call
function AbortPostBack() {
if (Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()) {
Sys.WebForms.PageRequestManager.getInstance().abortPostBack();
} }
2. Write Javascript on body unload and call AbortPostBack() method. You may have this in Master Page.
Showing posts with label Abort Long running process. Show all posts
Showing posts with label Abort Long running process. Show all posts
Monday, July 16, 2007
Subscribe to:
Posts (Atom)