Question : Page progress updates from a long running process

Hi,
I need some advice regarding asp.net/ajax. I have a form with a button, the button does a postback that initiates a job done inside a dll. The job can run for some time and the dll fires events at pre-determined stages to indicate it's progress.
Now my problem is this - the dll-job starts fine and the events fire (for testing I just updated a textbox with the progress in the event) but my page shows nothing until the entire job is finished, at which point the textbox shows all the prgress info, which is expected. I have ajaxified the button and the same thing happens, which I also expected.
I realise that what I am asking may be impossible but I am hoping someone could help me out with a trick/technique to load a page and then feed updates to that page from a process running on the server.

Answer : Page progress updates from a long running process

Hi Alw1n,

I think you need a real time progress bar. Check this out : http://www.singingeels.com/Articles/RealTime_Progress_Bar_With_ASPNET_AJAX.aspx

I did build a real time progress bar on my own but unfortunately I ended up with dead VPC and can not recover it but this example is good enough for you to start, the one I did was very simple but it's almost a year n half back so I dont remember exactly how I did it but I remember I used threads in my ASP.Net page and a mechanism to monitor them and then report it back to my page so you can do a little research in that direction also.

Regards,
Chinmay

Random Solutions  
 
programming4us programming4us