Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / November 2007

Tip: Looking for answers? Try searching our database.

Handling errors in ASP.NET AJAX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alhambra Eidos Kiquenet - 14 Nov 2007 08:46 GMT
Hi misters,

I have an application web ASP.NET 2.0 using ASP.NET AJAX and Ajax Control
Toolkit.

We need handles errors of AJAX, and I want have only one method that handles
those errors (like if I had a Application_error method or a
AppDomain.CurrentDomain.UnhandledException event), a global way for handles
error of Ajax.

What is the best global way for handler AJAX errors ?

Any help will be appreciated, and I'll be very grateful. Thanks in advance.
Greetings, regards.

Signature

http://www.alhambra-eidos.es/web2005/index.html
www.kiquenet.net
http://www.setbb.com/putainformatica/viewtopic.php?p=843
www.trabajobasura.com/solusoft

Braulio Diez - 14 Nov 2007 09:53 GMT
Hello,

 Mmm... for client side errors:

  - ScriptManager has an event for that case in Javascript (you could place
it on your master page maybe). By using that you can convert the error to a
friendly message for the final user.

  - Calls to webservices has as well a method for failure.

  For server side errors, take a look at the section "Handling Errors":

http://www.asp.net/AJAX/Documentation/Live/overview/ScriptManagerOverview.aspx

 Good luck
   Braulio


/// ------------------------------
/// Braulio Diez
///
/// http://www.tipsdotnet.com
/// ------------------------------

> Hi misters,
>
[quoted text clipped - 10 lines]
> Any help will be appreciated, and I'll be very grateful. Thanks in advance.
> Greetings, regards.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.