Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom tool in for a web application, i'm using, the class is in 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


share|improve this question
up vote 1 down vote accepted

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.

share|improve this answer

In the following link you have an example how to do exactly what you want but in the client side (including the CSS to set the div centered and grayed)

Just do the same but instead of the ajax javascript , run the code to set it visibility on the server side.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.