Block all UI when an upload starts

Thread is closed for posting
2 posts, 0 answers
  1. Vicenc Masanas
    Vicenc Masanas avatar
    37 posts
    Member since:
    Jul 2007

    Posted 19 Jun 2012 Link to this post

    I need to block all UI in the browser while an uploading is running. In some projects I use BlockUI (, but I'm not sure how to plug this on the radupload. Is there any event that fires on file upload start and file upload end?
    I don't want to display a progress bar but instead stop all user interaction with the page until the upload is finished.
  2. Kevin
    Kevin avatar
    360 posts
    Member since:
    Jul 2012

    Posted 20 Jun 2012 Link to this post

    Hello Vicenc,

    Since the RadUpload doesn't auto-upload by itself, without the use of custom code, which in that case you would place the call in there.
    So I have to assume you're using the RadAsyncUpload control, if so, you should handle the OnClientFileUploading event to block the UI and then the OnClientFileUploaded event to unblock the UI.

    I hope that helps.
Back to Top