Uploader Cancel event capture

Last post 06-09-2009, 4:09 AM by xmoonrakerx. 3 replies.
Sort Posts: Previous Next
  •  01-30-2009, 2:13 PM 48240

    Uploader Cancel event capture

    Once a file is in the process of uploading, is there a way of capturing the cancel upload button event so i can then show/hide other elements? Code behind event if possible...
  •  02-02-2009, 3:41 PM 48271 in reply to 48240

    Re: Uploader Cancel event capture

    Hi,
     
    The uploader do not provide server side or client side cancel event directly.
     
    In client side javascript,
     
    You can capture the start/stop/postback event, or compare the status of the data from queueui event .
     
    If you want to notify the server side, you can raise a postback to server side via javascript
     
    Regards,
    Terry
  •  06-09-2009, 2:04 AM 52881 in reply to 48271

    Re: Uploader Cancel event capture

    How can I capture the start/stop/postback event or compare the statuf of the data from queueui event? After I click the cancel boton nothing happens and I don't know what to do from there...
     
    Thanks,
  •  06-09-2009, 4:09 AM 52885 in reply to 52881

    Re: Uploader Cancel event capture

    I solved my problem with

    var hidden = document.getElementById('<%= Uploader1.ClientID %>');
    hidden.handleselect = function()
    {
       // action here (show popup only when a file is selected)
    }

    Thanks,

View as RSS news feed in XML