send id or object in page with upload async

2 posts, 0 answers
  1. ali
    ali avatar
    1 posts
    Member since:
    Dec 2012

    Posted 28 Feb 2013 Link to this post

    Hello ,there
    I want to send id with jsp kendo to track one to many parent ,
    but there is no any custom function creation methodology in jsp kendo B version
  2. Petur Subev
    Petur Subev avatar
    1882 posts

    Posted 04 Mar 2013 Link to this post

    Hello Ali,

    To send additional data to the server when uploading a file you should use the upload event. In this part of the documentation it is shown how to actually achieve this.

    To subscribe to the event through the JSP wrappers you should use the following approach:

            <kendo:upload name="files" upload="extraData">
                <kendo:upload-async autoUpload="true" saveUrl="${saveUrl}" removeUrl="${removeUrl}"/>
        function extraData(e){
   = {name:"Some Name"}

    I hope this helps.

    Kind Regards,
    Petur Subev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top