Per file error hint (Async)

3 posts, 1 answers
  1. Christophe
    Christophe avatar
    4 posts
    Member since:
    Jul 2012

    Posted 02 Dec 2014 Link to this post

    I'm successfully using the Upload widget to push files on a an Azure storage.
    Accept only Excel file of a decent size, so sometimes, the controller on the server side will send an error message in the request response.
    Now I can catch this with the 'error' event on client and would like to change the title attribute of the warning icon to show the error message.
    How should I do that ?

    BTW, using ASP.NET MVC 4, multiselect enabled & asynchonous upload.

    Any hint wellcomed.
  2. Answer
    Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 03 Dec 2014 Link to this post

    Hello Christophe,


    You could use the unique uid attribute of the file to find it in the list and set the custom title attribute. Here is a small example, that demonstrates the approach.

    I wish you a great day!

    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. Christophe
    Christophe avatar
    4 posts
    Member since:
    Jul 2012

    Posted 03 Dec 2014 in reply to Dimiter Madjarov Link to this post

    I was edging to this.
    Thanks for your confirmation.
Back to Top