RadUpload 1.0.3 +
|Visual Studio version
Visual Studio 2003, 2005
all browsers supported by r.a.d.controls
I wanted to share a script I wrote to keep RadUploadProgressArea centered while a large file is being uploaded.
For some reason, I haven't been able to tame the upload progress box. It appears in random places on our pages. If you can't see it, you don't even know if a file upload is taking place.
To get it to work, you need to initialize the OnClientProgressUpdating property of a RadUploadProgressArea control instance:
RadUploadProgressArea1.OnClientProgressUpdating = "CenterUploadArea";
Remember to also wire RadUploadHttpModule in web.config:
With this setup, even if you scroll the browser window during a file upload, the progress area will get centered.