Ajax loading gif for long running queries?

Has anyone managed to display a loading gif for long running queries? We have some fairly complex long running methods and ideally we would like to show that the system is actually doing something whilst they are running. I could show/ hide an image on every method but was wondering if anyone had managed to bind to a global ajax event (or something more clever) so that i don't have to call it in every method.
Parents
  • If use a data export method were I added a status bar for users to see the export process. In my case, the status bar update code is added in the corresponding Method and updates to certain events in the Method. This is not the best attempt as it isn´t completly indepentend and I also still look for a better solution. I also made the experience, that different browsers may have trouble with the background event. I still have much trouble to get the status bar working for the different browsers. For some users it works, others don´t work.
Reply
  • If use a data export method were I added a status bar for users to see the export process. In my case, the status bar update code is added in the corresponding Method and updates to certain events in the Method. This is not the best attempt as it isn´t completly indepentend and I also still look for a better solution. I also made the experience, that different browsers may have trouble with the background event. I still have much trouble to get the status bar working for the different browsers. For some users it works, others don´t work.
Children
No Data