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

remove event object

1 Answer 50 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Stoyan
Top achievements
Rank 1
Stoyan asked on 04 Mar 2015, 10:20 AM
Hello,

I'm trying to manually trigger upload widget remove event but with no success.
The event object passed to the callback is different and has no "files" field as when I'm clicking the original template "remove" button.
What I'm doing wrong?

Best regards!

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 05 Mar 2015, 11:21 AM

Hello Stoyan,

Manual triggering of the remove event is not supported. A sample approach would be to programatically trigger the click event of the remove button, which will trigger the remove event of the Upload widget.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Upload
Asked by
Stoyan
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or