Re: How do display progress with a logn running server side task

From: Lau Lei Cheong (lau_lc_at_yahoo.com.hk)
Date: 05/28/04


Date: Fri, 28 May 2004 09:36:04 +0800

The current solution I used is to write the progress to a file on server
side, and then use another popup window that use javascript to continuously
display the content of the file and refresh within time intervals.

This solution is not efficient and I'll say that it'll be better if you use
one of the third party components.

"Roy Chastain" <roy@kmsys.com> ???
news:ui0db0thca47kpg9ic67psmlcbmstopae8@4ax.com ???...
> I have a aspx web page that is a long running task (1 - 2 min's). I would
like to display an actual progress such as X out of Y items
> processed.
>
> I assume that the correct way to start about this is to put a meta refresh
in the page (say every 10 seconds) to force the page to get the
> new output, but I am not sure where/how to generate the new output and
which if any events etc get fired when the page refresh is requested.
>
> Could someone outline the step or principles involved.
>
> Thanks
> -------------------------------------------
> Roy Chastain



Relevant Pages

  • [PATCH 15/19] TuxOnIce: Userspace user interface support.
    ... +static int userui_storage_needed ... * Side effect routine for when the userui program is set. ... * @value: Current progress percentage numerator. ... Whether to pause or just display the message. ...
    (Linux-Kernel)
  • Re: Is threading the right solution for this challenge?
    ... A typical screen "refresh" could take up to 10-15 ... the display thread (since it is only inquiring there is no danger ... interrupt itself to check for user input and react to it. ... In ACCEPT with TIMEOUT, what happens if the user was in the process of ...
    (comp.lang.cobol)
  • Re: Refreshing a Windows Form
    ... What you really need to do is call a method in the parent form that refresh ... refreshing the form is only repaint it, each control repaint itself using ... If the info that they need to display changed, you will have to update them, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Idea for new ttk Notebook virtual event
    ... preferred approach would be to automatically update the display via a timer ... may have gathered by now that your refresh via tab click is definitely not ... the notebooks using a common refresh) - the whole display will become ...
    (comp.lang.tcl)
  • Re: [PATCH 2.6.19-rc1 full] drivers: add LCD support
    ... doing animations but rather displaying 'fake' greyscale images. ... refresh of the controller or you will have very ugly aliasing artifacts. ... There are two distinct "refresh"'s involved here: one is when the driver writes its software buffer into the display internal memory using the parallel port interface. ...
    (Linux-Kernel)