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

kendo-upload async problem

1 Answer 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
SungYong
Top achievements
Rank 1
SungYong asked on 17 Dec 2019, 08:48 AM

hi I am the user of kendo-uploader

when  I open the kendo-window, my fileUpload have to Keep some files what I can remove, so I use a Initailfile Option like the Code of below

$("#fileUpload").kendoUpload({
        async: {
          saveUrl: "save",
          removeUrl: "remove",
          autoUpload: false,
          removeVerb: "DELETE",
        },
        remove: onRemove,
        files: this.mUploadFiles
      });

but I make a Problem because when I press the X button ,It works remove process immediately but I want to use my Custom remove process.

How can I use my Custom remove Process . Please help me to solve the problem

1 Answer, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 19 Dec 2019, 06:57 AM

Hello SungYong,

If you need to execute custom logic upon file removal, I would suggest you handle the remove event of the widget, prevent the default execution (e.preventDefault()) and implement your own custom logic.

Regards,
Veselin Tsvetanov
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
SungYong
Top achievements
Rank 1
Answers by
Veselin Tsvetanov
Telerik team
Share this question
or