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

Error event is fired at the end of upload

3 Answers 90 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Tomas
Top achievements
Rank 1
Tomas asked on 15 Oct 2013, 08:01 AM
I have found that Error event is fired in our application while using Kendo Upload(MVC). Even in your demo using IE or Chrome we get Error event at the end of upload at http://demos.kendoui.com/web/upload/events.html

3 Answers, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 15 Oct 2013, 09:00 AM
Hello Tomas,


The error event is triggered in the demo, because there is a file size limitation. The success event is fired as expected, when a smaller file is used.

Regarding your specific case, please share some additional details about the Upload configuration and the server response, so I could assist you further if needed.

Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Tomas
Top achievements
Rank 1
answered on 15 Oct 2013, 10:59 AM
Is it possible to get more information from Error event about exception, why upload is failed?
0
Dimiter Madjarov
Telerik team
answered on 16 Oct 2013, 11:11 AM
Hello Tomas,


The error event of the Upload receives the following parameters - files, operation and XMLHttpRequest. The last one, as stated in the documentation, is either the original XHR or a request stub and contains information about the server response.

Another way to investigate a failed request would be through the network tab of your browsers developer tools.
 
Regards,
Dimiter Madjarov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Upload
Asked by
Tomas
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Tomas
Top achievements
Rank 1
Share this question
or