When I disable the upload control with upload.disable(), the button is indeed disabled, but I can still drag and drop files. I think drag and drop should also be disabled?
Regards, Jaap
1 Answer, 1 is accepted
0
Dimiter Madjarov
Telerik team
answered on 12 Feb 2013, 09:16 AM
Hello Jaap,
Thank you for noticing this issue in Kendo Upload. We will fix it as soon as possible. As a small sign of gratitude I am adding Telerik points to your account.
As a temporary workaround I would suggest you to attach to the drop event of the input and prevent the default behavior.
E.g.
$("#files").data("kendoUpload").enable(false);
$("#files").on('drop', function(event) {
event.preventDefault();
});
All the best,
Dimiter Madjarov
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!