PDA

View Full Version : Display busy indicator/progress bar during RPC call



suganya08
13 Dec 2010, 11:20 AM
Hi,
I'm trying to display busy indicator/progress bar during RPC call. But the progress bar is not responding during the call. During the call, the UI freezes. Once the call is completed (callback), the progress information is updated properly.

Any help is appreciated.

sven
13 Dec 2010, 11:21 AM
While the call it should be responding. However when the browser gets the RPC data the data gets parsed and than the browser is no longer responsive.

suganya08
13 Dec 2010, 11:35 AM
@sven, yes that's correct. The progress bar is getting updated during the scope of the service method being invoked. But not responding only when the data is being parsed. Is there a way to handle this?

sven
13 Dec 2010, 11:36 AM
No way to handle this. Javascript is single threaded. If one method runs, no other method could run to update the progressbar.

suganya08
13 Dec 2010, 11:41 AM
@sven, Thank you for the information.