Getting return value from SaveUrl

3 posts, 0 answers
  1. anooj
    anooj avatar
    6 posts
    Member since:
    Dec 2014

    Posted 03 Dec 2014 Link to this post

    Hi,

    i am using the upload control with angularjs and asp.net mvc. i have this below html

    k-async="{ saveUrl: 'upload', removeUrl: 'remove', autoUpload: true }"

    my upload MVC action returns some data after file upload , how do i get hold of the return value from here?
  2. anooj
    anooj avatar
    6 posts
    Member since:
    Dec 2014

    Posted 03 Dec 2014 in reply to anooj Link to this post

    Got it

      k-success="onUploadSuccess" /> 

    :)
  3. Kendo UI is VS 2017 Ready
  4. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 03 Dec 2014 Link to this post

    Hello Anooj,


    Using the success event handler to access the server response is indeed the correct 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!
     
Back to Top