So, I discovered the wonders of the <asp:UpdateProgress> Tag and I am using it with success.
In short, A user clicks a button, some database stuff happens in the background, then the result is displayed. During the processing of the database routines I am displaying a message and an animated 'Loading' .gif in a static section of the web page.
<asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="0">
<img src="Images/35.gif" alt="Loading..." height="64" width="64" border="0" />
<h4>Processing... Please Wait.</h4>
Ultimately, I would like the UpdateProgress Control to appear in what I know as a lightbox effect [using JQuery] that I have used for Image Galleries on other projects.
[The effect is that the screen dims and the image fades in, then out when the user clicks close]
Is it possible to display the asp UpdateProgress as shown in the snippet above in a JQuery driven 'Lightbox' effect where the Progress Animated .gif and the Progress Message appear, then disappear when the routines are finished?
I know that I have not even attempted to integrate my idea, and no attempts at code are posted above. I am hoping that:
1. This is possible.
2. That someone has experience using this effect.
3. That either examples can be given or I can be pointed in the correct direction.
- I think that the UpdateProgress Tag uses AJAX, so I'm not really sure what that means or if that causes some kind of compatibility with JQuery.
Let me know your thoughts and thank in advance for any information you can give me.