Forum Moderators: open
I'm looking for some information on how to implement a "Loading..." or "One Moment Please" page while a time-consuming database query returns. I have posted it in here to, hopefully, get an asp.net solution.
I apologize for making this post, but it's one of those things that I just can't think of a good google query to get results back on. Forgive me, but I need some biological brain power. Links to written materials on the topic would be much appreciated.
thank you
-Mike
But if you do, possibly you could call a response.flush before querying and send a status bar back, also just warn the user when they click the button and use a "if IsClientConnected" before displaying the results as they might of gone somewhere else.
Design Patterns- Asynchronous Wait State Pattern in ASP.NET by Lyn Robison
[msdn.microsoft.com...]
Building a Better Wait Page By Brian Dunnington
[codeproject.com...]
Asynchronous Data Access in ASP.NET
[aspnet4you.com...]
Have a hidden z-layer with "waiting" message and activate that as part of some javascript associated with the submit button.
Works like this:
action page
click button
z-layer brought to front: "wait..."
intensive query activated
when query has finished results will be displayed
Hope this helps.
Green2K.