how to return user-defined strings to signify success?

2 posts, 0 answers
  1. ltxx
    ltxx avatar
    11 posts
    Member since:
    Oct 2015

    Posted 02 Dec 2015 Link to this post

    Now "KendoUI upload" returns an empty string to signify success, but I want to return user-defined strings to  signify success? please give example!


    Yours sincercely,


  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2122 posts

    Posted 02 Dec 2015 Link to this post

    Hello Pansh,

    In order to achieve this you should return the metadata from the save handler as JSON with Content-Type set to "text/plain". The approach is demonstrated on the following documentation page.

    Dimiter Madjarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top