Error event is fired at the end of upload

4 posts, 0 answers
  1. Tomas
    Tomas avatar
    41 posts
    Member since:
    Feb 2011

    Posted 15 Oct 2013 Link to this post

    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
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 15 Oct 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Tomas
    Tomas avatar
    41 posts
    Member since:
    Feb 2011

    Posted 15 Oct 2013 Link to this post

    Is it possible to get more information from Error event about exception, why upload is failed?
  5. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2156 posts

    Posted 16 Oct 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready