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

Upload stuck on 103% (still uploading)

1 Answer 142 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 15 Sep 2015, 09:13 AM

Hello,

sometimes when I try to Upload files via the upload-control the upload ends up in 103% without the save and onsuccess-events firing. It doesn't seem to have anything to do with the file itself, as I'm always using the same. Sometimes it works, sometimes it doesn't.

function onSuccess(e) {
    var gridNotification = $("#gridNotification").data("kendoNotification");
    var crmType = $("#ddlCrmType").data("kendoDropDownList");
    var csvHeadRow = e.response.csvHeadRow
    var url = '@Url.Action(MVC.Mapping.ReturnMappingGrid())';
    $.ajax({
        type: "POST",
        url: url,
        data: JSON.stringify({ csvHead: csvHeadRow, crmType: crmType.text() }),
        contentType: "application/json; charset=utf-8",
        dataType: "json",
        success: function (data) {
            $('#gridContainer').html(data);
            gridNotification.show("Die Auswahl der jeweiligen Eigenschaft erfolgt durch Klicken des jeweiligen Eigenschaft-Felds!")
            var container = $(gridNotification.options.appendTo);
 
        },
        error: function (xmlHttpRequest, textStatus, errorThrown) {
            debugger;
            console.log(xmlHttpRequest.responseText);
            console.log(textStatus);
            console.log(errorThrown);
        },
        async: false
    });
}

@(Html.Kendo().Upload()
    .Name("upMappingFile")
    .Multiple(false)
    .ShowFileList(true)
    .TemplateId("fuCsvTemplate")
    .Async(a => a
        .AutoUpload(true)
        .Save("SaveFile", "Mapping")
        .Remove("RemoveFile", "Mapping")
    )
    .Enable(false)
    .Events(e => e
        .Success("onSuccess"))
    .Messages(m => m
        .Select("Durchsuchen...")
        .HeaderStatusUploading("Uploading...")
        .HeaderStatusUploaded("Fertig"))
)

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 Sep 2015, 09:04 AM
Hi Oliver,

Please check the following documentation section for more information on this topic, and suggestions how to proceed:

http://docs.telerik.com/kendo-ui/web/upload/troubleshooting#problem-incorrect-progress-readings-when-using-ie1011-with-windows-authentication

Regards,
Dimo
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Upload
Asked by
Oliver
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or