This is a migrated thread and some comments may be shown as answers.

[Solved] Custom Progress Stops Updating

1 Answer 115 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
ADe
Top achievements
Rank 1
ADe asked on 29 Mar 2009, 05:32 PM
When I upload a file the uploading part is shown perfectly in the progress control but some files require a certain amount of preliminary processing (after the upload) before our custom progress section kicks off which should indicate progress on the progress control.

Everything works fine unless the preliminary processing takes a long time. In this case when the custom progress begins nothing is updated on the progress control on the web page even though I can see in the code the percentage and other values are being set to new values.

I have also seen it stop updating after working well for some time. This only seems to happen with files that require a lot of processing and it usually eventually does start updating again (i.e. gets to 20% and then sticks for ages and then suddenly starts updating again so to the user it suddenly looks like it jumps to say 60%).

Any ideas why this is happening?

Cheers
ADe

1 Answer, 1 is accepted

Sort by
0
Accepted
ADe
Top achievements
Rank 1
answered on 29 Mar 2009, 09:00 PM
Fixed it...!

It appears there was a JScript SetTimeout running every 30 seconds on the parent page that was clicking an AJAX'd button... When that kicked in during a file upload it killed the Rad progress control... I basically set a JScript var to stop it during uploads and it's happy now...

That was a bitch to find :)
Tags
Upload (Obsolete)
Asked by
ADe
Top achievements
Rank 1
Answers by
ADe
Top achievements
Rank 1
Share this question
or