RE: ASP.NET 3.5 AJAX and default error handler
- From: stcheng@xxxxxxxxxxxxxxxxxxxx (Steven Cheng [MSFT])
- Date: Wed, 16 Apr 2008 06:18:07 GMT
Hi Trapulo,
As for ASP.NET ajax, you can register the event hander for client-side load
events. One of them is "EndRequest" in which we can detect whether there is
any error during the AJAX request processing. Here is web article mentioned
this:
##How to improve ASP.NET AJAX error handling
http://encosia.com/2007/07/18/how-to-improve-aspnet-ajax-error-handling/
Sincerely,
Steven Cheng
Microsoft MSDN Online Support Lead
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@xxxxxxxxxxxxxx
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "Trapulo" <trapulo2@xxxxxxxxxxxxxxx>
Subject: ASP.NET 3.5 AJAX and default error handler
Date: Tue, 15 Apr 2008 16:11:08 +0200
Hello,in
with ASP.NET 2.0 Ajax every unexpected error is managed client-side with a
popup that reports the error to the user. In ASP.NET 3.5 this behavor has
been changed: how can I have a similar behavor? I'd like that every
exception raised from ASP.NET runtime during an asyncpostback is managed
client side with a popup that reports the error message.
thanks
.
- Follow-Ups:
- Re: ASP.NET 3.5 AJAX and default error handler
- From: Trapulo
- Re: ASP.NET 3.5 AJAX and default error handler
- References:
- ASP.NET 3.5 AJAX and default error handler
- From: Trapulo
- ASP.NET 3.5 AJAX and default error handler
- Prev by Date: Export Word Using ASP.net 2.0 : Office 2007 doesn't support UTF-7
- Next by Date: RE: how to get the correct email format when sending email using sqlda
- Previous by thread: Re: ASP.NET 3.5 AJAX and default error handler
- Next by thread: Re: ASP.NET 3.5 AJAX and default error handler
- Index(es):
Relevant Pages
|