I am working on a web project that takes results from an application such as a survey, and runs them through a bunch of calculations to offer some recommended recommendations for the user.
Now this calculation may take about a minute, so I would like to give the user some update on it. Obviously, a quick and dirty solution would be to put out a message in the form of “Wait while we calculate your recommendations”, with spinning graphics. (or something else, you understand). After completing the task, I am redirected to the results page.
However, I would like to do something more interesting. Maybe something like a progress bar, and even tells the user what is happening in the background. For example, give them a progress bar, with some text that says: “Now go to sentence 3 of 15, Multi-Vitamin”
Any suggestions on how I can set this up? One of the ways I'm going to do is to write the progress of the calculation method in the HttpContext and tickle the update panel and the timer that will show / update this information. I also checked, maybe built a web service / method, and then polled this at some interval.
Has anyone done something like this before? What worked for you?
Thanks again!
~ Jim
Jim b