kendo-upload async problem

2 posts, 0 answers
  1. SungYong
    SungYong avatar
    4 posts
    Member since:
    Jul 2019

    Posted 17 Dec 2019 Link to this post

    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

  2. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    1187 posts

    Posted 19 Dec 2019 Link to this post

    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
Back to Top