Q:

Show loading icon with custom tool

I have a custom tool in vb.net for a web application, i'm using Asp.net, the class is in vb.net and the gis service is in Arcgis Server 9.3 sp1, the tool makes a selection of layers and takes a lot of time, so i want to show a loading icon on the map while it's getting the info from the server. Any idea?
I already tryed to modify the progress bar from the map but it works only within the map events, i want to show the progress bar from the custom class, from vb.net 
Thx

A:

Your quickest answer, is create a DIV on your page; set it to runas server, then hide it. So when you start your function go through and turn that div on, then when finished turn the div off.
I don't have any code I can quickly post for you; but I have done this all over the place in my COTS apps and the workflow is pretty solid.

