This is a migrated thread and some comments may be shown as answers.

Manually cancel upload request

2 Answers 115 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Danish
Top achievements
Rank 1
Danish asked on 22 Feb 2012, 03:24 PM
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 Answers, 1 is accepted

Sort by
0
Danish
Top achievements
Rank 1
answered on 24 Feb 2012, 02:43 PM
Any suggestions guys.
0
T. Tsonev
Telerik team
answered on 27 Feb 2012, 05:09 PM
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!
Tags
Upload
Asked by
Danish
Top achievements
Rank 1
Answers by
Danish
Top achievements
Rank 1
T. Tsonev
Telerik team
Share this question
or