NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: JohanR on September 28, 2014, 04:02:26 AM

Title: Progress update from executing child threads
Post by: JohanR on September 28, 2014, 04:02:26 AM
Hi,

I have a browse and each row has a button that starts a thread that will run for about 4-20secs.
The user clicks each row's button and triggers the thread.

Is there a way that I can update the calling browse page and update each row with progress info, either a information string or percentage?

Currently the threads write progress info to table, and the user has to click a refresh browse button to refresh the browse to see updates.
Works, but not nearly as sexy as auto updates would be.

Is using a timer the best answer here?


thanks

Johan
Title: Re: Progress update from executing child threads
Post by: Bruce on September 28, 2014, 10:24:40 PM
it would be timer based, yes, but ideally you don't want to refresh the whole brows eon a timer -that would be very wasteful.

Without having tried it - my instinct would be to put the browse on a form, the form has a progress bar, and so you can show the progress there.

cheers
Bruce