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):
Let me know if there is anything I doing wrong... Otherwise I hope this helps...
Keep up the great work!
-Ricardo
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