Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the value on the fly?
#2
There is a way of obtaining this result but the process can't be done in a blocking request (i.e. a request that won't return until the process is finished). In this regard, even an async request is a blocking request from the server point of view.

You need to start a background thread on the server side that will handle the long process. The thread should update a progress counter that is read by the TIWMonitor that can update the page. There is an example of such thing here:

https://github.com/Atozed/IntraWeb/tree/...IWMonitor2

I'll see if I write a better example on how to deal with long processes using the IWMonitor class
Reply


Messages In This Thread
How to change the value on the fly? - by baxing - 05-18-2023, 06:14 AM
RE: How to change the value on the fly? - by Alexandre Machado - 05-18-2023, 11:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)