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

Potential Bug: Retrying duplicates metadata

1 Answer 64 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 30 Mar 2012, 08:50 PM
Hi,

I came across this issue while using the Upload widget... the summary is that when an upload fails, and I hit the retry button, the fields on the metadata get re-appended. Each time I hit the retry button, the value gets appended again.

Here is my code (I am using Kendo UI Complete v2012.1.322):

$(function () {
    $("#input-file").kendoUpload({
        async: {
            autoUpload: true,
            saveUrl: '/UploadAction'
        },
        upload: onUpload,
        multiple: true,
        showFileList: true
    });
 
});
 
function onUpload(e) {
    e.data = {
        "displayName": $("#DisplayName").val()
    };
}

Let me know if there is anything I doing wrong... Otherwise I hope this helps...

Keep up the great work!
-Ricardo

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 04 Apr 2012, 10:09 AM
Hello,

Thank you for reporting this problem. We'll start working on a fix right away.

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

All the best,
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
Ricardo
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or