I am using kendoUpload() in menual upload method, not auto upload. 1st i select file, it is correctly added after am upload another file, i select only one file but show one file more time in file selection.( i attached copy of this.)
use, autoupload: false,
3 Answers, 1 is accepted
0
Dimo
Telerik team
answered on 05 Dec 2012, 09:04 AM
Hi Shahul,
If I understand you correctly, you want to remove the successfully uploaded files from the list, so that the user only sees the non-uploaded files. This can be done with the following script:
function deleteOldFiles(e) {
this.wrapper.find(".k-success").each(function(){
$(this).parent().remove();
});
}
$(document).ready(function() {
$("#files").kendoUpload({
async: {
autoUpload: false
},
select: deleteOldFiles
});
});
Greetings,
Dimo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!