Add custom button to Kendo Upload which can add images from clipboard

1 Answer 322 Views
Upload
Supun
Top achievements
Rank 1
Supun asked on 01 Aug 2021, 09:00 AM

Hi All,

I want to add custom button to Kendo Upload, which we can add images to list from clipboard.

 

Thanks,

Supun

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 04 Aug 2021, 12:29 PM

Hello, Supun,

You can add a custom button to the dropzone by using the jquery append method:

 $(".k-dropzone").append("<button id='clipboard'>Add from Clipboard</button>")

Here is a small example for reference.

As for the functionality behind the button, please note that the "files" that are added to the list programmatically will not be uploaded, as they are not actually files.

Let me know if you have any further questions.

Regards,
Martin
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
Upload
Asked by
Supun
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or