good day, i am saving my data through ajax. i save data in 5 different tables. it takes at least a minimum of 20 seconds for the save to complete. i need a progress bar to keep users informed about the save status, so that they may not be left irritated "what the hell is happening with this application?!..."
thank you eric, but my question is, how am i to link the progress bar with server side saving process. for example, if we are downloading a file, the progress bar increments itself as the download progresses. in the same way, how am i to increment my progress bar depending upon the saving process that is happening in server side?
The download progress bar works because the server tells the browser the file size first. As the browser receives bytes, it can compute the percent complete.
You can't really do that with a process running on the server. You'd have to make the server send percent done updates to the browser, possible but fairly high effort for something that runs a few seconds. Besides which it's hard to tell when a SQL update is 50% done.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com