Detect click on the Clear button

2 posts, 0 answers
  1. Boris
    Boris avatar
    24 posts
    Member since:
    Aug 2015

    Posted 03 Nov 2016 Link to this post


    I use Upload to select multiple files. I don't want to use web services to process the upload, so my code for Upload creation looks like this:

        async: {
            saveUrl: "notNeeded",
            removeUrl: "notNeeded",
            autoUpload: false

    When I select some files, there is a list of the selected files. Under the list there are buttons Clear and Upload.

    I want to perform some action when Clear is clicked, but I don't know how to detect it.

    Listening to "remove" event did not help.

    Thanks for the answers,




  2. Dimiter Madjarov
    Dimiter Madjarov avatar
    2312 posts

    Posted 04 Nov 2016 Link to this post

    Hello Boris,

    Please excuse us for this inconvenience. A clear event will be present in our next official release. At the moment you could attach a click handler to the button via jQuery. Here is a sample approach to achieve this.

    Dimiter Madjarov
    Telerik by Progress
    Build rich, delightful, *native* Angular 2 apps with Kendo UI for Angular 2. Try it out today! Kendo UI for Angular 2 (currently in beta) is a jQuery-free toolset, written in TypeScript, designed from the ground up to offer true, native Angular 2 components.
Back to Top