Manually cancel upload request

3 posts, 0 answers
  1. Danish
    Danish avatar
    8 posts
    Member since:
    Dec 2011

    Posted 22 Feb 2012 Link to this post

    Hi,

    I am not using the default file list (showFileList: false) and implementing a custom one. I need to implement the cancel upload functionality but I don't seem to find any events and API's that I can use. 
    Just surfing through kendo.upload.js, I believe that jquery (xmlhttprequest)  
    abort() and some iframe stop commands are used by the default implementation. If this is correct, I see no way of getting either an xmlhttprequest or iframe object to replicate this behavior.
    So how can I trigger the cancel functionality manually.

    Thanks,
    Danish
  2. Danish
    Danish avatar
    8 posts
    Member since:
    Dec 2011

    Posted 24 Feb 2012 Link to this post

    Any suggestions guys.
  3. T. Tsonev
    Admin
    T. Tsonev avatar
    2831 posts

    Posted 27 Feb 2012 Link to this post

    Hello,

    I can confirm that there's no public API available for cancelling the active uploads. You don't have access to the XHR request or IFRAME either.

    We'll log this feature and include it during our next planning cycle. 

    As a token of gratitude for your involvement your Telerik points have been updated.

    Greetings,
    Tsvetomir Tsonev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top