how to disable/re-enable container form

  •  12-22-2008, 8:24 AM

    how to disable/re-enable container form

    I would like it to work like this:
     
    User clicks browse, selects a file, and the upload starts -> I get a client side event, the event handler for which can disable appropriate screen controls while the upload proceeds.  Looking for a javascript BeginUpload event or something like that.
     
    User clicks cancel during an upload -> I get a client side event, the event handler for which can re-enable appropriate screen controls.  Looking for a javascript UploadCanceled event or something like that.

    Alternatively, maybe AjaxUploader has the ability to make the control itself "modal" during the upload process, where it covers the window with a div, and only the progress indicator and cancel button have a z-index higher than the div? 
     
    Anyway, you get the idea: I don't want the user clicking around while the upload is in progress.  What is the best way to implement this functionality?
     
    Regards,
    Brad
View Complete Thread