Upload manually trigger

1 Answer 72 Views
Upload
a
Top achievements
Rank 1
a asked on 14 Dec 2022, 02:17 PM

Hi, i'm using the KendoReact upload component and i need to manually start the upload after something happens.

i looked through the documentation but can't find a way to do that.

Thanks

1 Answer, 1 is accepted

Sort by
1
Accepted
Konstantin Dikov
Telerik team
answered on 16 Dec 2022, 07:39 AM

Hi,

The Upload component has triggerUpload method that allows the upload to be initiated with manually:

I have made a simple example demonstrating how to use the triggerUpload with the Upload ref:

Hope this helps.

 

Regards,
Konstantin Dikov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

a
Top achievements
Rank 1
commented on 17 Dec 2022, 01:23 AM

that's exactly what i was looking for, thanks!

Tags
Upload
Asked by
a
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or