Question : Load progress bar C#, asp.net

I have a operation that involves over 100 database calls to generate a product list.

then I need to generate an invoice based on the product list.

I want to know how I can implement an incremental progress bar to let the user know at what stage the application is at.

I have a loop that will generate one product at a time. I think that is the best place to put my incremental statement..

I've never done this before, so any help would be great!
thanks

Answer : Load progress bar C#, asp.net

Hi,

In dot Net if you use updatePanel and UpdateProgress, you can have similar progress looking. (take a look at my code example). The progress will be indicated with an gif animation image running, with a lot of application this is enough.

But if you want to know how far user is with the progress, then there will be some synchronizing with server (from client side) or at least some tricky setting so you have some percentage too.

This is for more advance progress bar (with code and tutorial)
http://www.beansoftware.com/ASP.NET-Tutorials/ProgressBar-User-Control.aspx

Or :
http://www.codeproject.com/KB/cpp/PercentageComplete.aspx

Or
http://www.singingeels.com/Articles/RealTime_Progress_Bar_With_ASPNET_AJAX.aspx

Hope this help

JINN


1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
For simple progress bar:

        
 
        
        
            
Data is being populated
Please wait... loading...
.....
Random Solutions  
 
programming4us programming4us