This is a migrated thread and some comments may be shown as answers.

FileManager that uses Upload configuration

1 Answer 252 Views
FileManager
This is a migrated thread and some comments may be shown as answers.
Cheryl
Top achievements
Rank 1
Cheryl asked on 22 Oct 2020, 09:19 PM
Can you provide an example of utilizing the Upload configuration setting to send additional data?

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 26 Oct 2020, 10:43 AM

Hello Cheryl

In order to send additional data with the uploaded files, you could use the upload.upload option to handle the upload event of the Upload widget. Below is an example:

 upload: {
       upload: function(e){              
              e.data = {
                additionalInfo: "additionalInfo"
              };
        }
},

Also the following article regarding sending additional data with the Upload widget could be helpful:

- https://docs.telerik.com/kendo-ui/knowledge-base/upload-mvc-send-additional-data

I hope this helps.

Regards,
Neli
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
FileManager
Asked by
Cheryl
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or