Jakew
Consulting, hacking, and motorcycles

Capturing MS Ajax errors server side

Wednesday, 21 March 2007 23:38 by jakew

To capture errors that occur when utilizing MS Ajax, we can do two things:

1. Capture the exception on the server side.

2 Capture the exception on the client side.

 In this post I will detail out how to capture exceptions using server side code. You might be asking when do I use one over the other. Good question!! But first some background.

The exception that is caught using the server side method ultizes the ScriptManager object(control) that is placed on the web page/control. So once the page loads all the events that the ScriptManager fires up are available.

Once you put an UpdatePanel control on the form, another object

Categories:  
Actions:   E-mail | del.icio.us | Permalink | Comments (0) | Comment RSSRSS comment feed