views:

80

answers:

0

I'm using a ScriptManager / ServiceReference to call an ASMX from client side code, just like the Calling Web Services from Client Script in ASP.NET AJAX example.

Is there an easy way to show/hide a loading animation when I'm fetching data from the web service? I could show it when I call the service, and hide it in the callback.

Is there an event I can attach to? I like the way JQuery has Ajax events for this sort of thing.