Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AJAX Progress Bar for long business component call (or multiple calls)

Status
Not open for further replies.

johnfraser

Programmer
Jul 25, 2007
33
US
I have an application that does three things in this order:

1. Pulls data from storage
2. Applies business rules (extremely complex)
3. Compiles Results
4. Downloads results (pdf) in object tag on page

At the most basic level, I'd like to have a "loading..." AJAX appear until the work is complete. Even better would be to have my business component return "event messages" to the UI and have them displayed showing each of the 4 steps to the end user.

I've worked with AJAX when it's user driven... say by a button click or drop down but I've never worked with AJAX that is controlled or at least depedant on the returned result of the business layer. I've seen things about "async" page loading and the events surrounding that but I can't find any information on how this might work with AJAX.

Bottom line, looking for a way to show end users that I'm doing some heavy server side processing and would like to transfer them to the "display page" when it's complete. How would I do that?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top