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

Destroy is not stoping current upload

1 Answer 69 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 20 Feb 2015, 11:53 AM
Hello,
Because there are no external methods to stop current upload (cancel), when I'm leaving my SPA page (there is no page refresh), I'm destroying kendo upload widget. But that destroying is not stopping current upload. I would expect, or have function to stop (cancel) upload, or destroy should cancel upload.

Regards
Marcin

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 23 Feb 2015, 11:00 AM

Hello Marcin,

Indeed the functionality is currently not available out of the box. As a solution you could manually trigger the click event of the cancel buttons before destroying the widget, which will stop the active uploads.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
Marcin
Top achievements
Rank 1
Veteran
Answers by
Dimiter Madjarov
Telerik team
Share this question
or