Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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


share|improve this question

2 Answers 2

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.