Popup extender "frozen" on code-behind exception.

Posted by davandries on Stack Overflow See other posts from Stack Overflow or by davandries
Published on 2009-09-15T00:24:40Z Indexed on 2010/03/12 7:07 UTC
Read the original article Hit count: 282

Hi,

In a C#/ASP.NET project, we're using an ajax modalpopupextender to display a "Processing..." message to the users. We're displaying it using a Javascript call in the code of the ASP.NET page. Then, in the code behind, we're doing some database operation, and hide again the popup using "popup.hide();"

The problem is that when an exception occurs in the code behind, the popup is still displayed and the application does not handle errors as per the "customErrors" tag of the web.config.

Any idea on how to deal with this kind of issues?

Thanks, David

© Stack Overflow or respective owner

Related posts about asp.net-ajax

Related posts about c#