What function triggers when I file is being dragged?

3 posts, 0 answers
  1. Alexis
    Alexis avatar
    2 posts
    Member since:
    Nov 2012

    Posted 20 Nov 2012 Link to this post

    Hi,

    I have seen this documentation about how to turn the drop zone visible. I wanted the user to know where he could drop his files so I changed the style to a div with a visible gray dashed border.
    However, I would like this border to turn black whenever a file is being dragged. It will give a better feedback to the user to where he has to drop the file.

    I know this is possible because in the default configuration, the drop zone is invisible and turns visible whenever a file is being dragged in the window.

    So long story short, what function is triggered when dragging occurs?

    Thanks for your help!

    Alex
  2. Alexis
    Alexis avatar
    2 posts
    Member since:
    Nov 2012

    Posted 21 Nov 2012 Link to this post

    Hi again,

    This should not be that difficult. I really need an answer on that.
    Maybe the question is not clear enough? If this is the case, can someone tell me?
    Thanks!

    Alex
  3. Kendo UI is VS 2017 Ready
  4. Masaab
    Masaab avatar
    15 posts
    Member since:
    Nov 2013

    Posted 20 May 2014 Link to this post

    you can used select event.

    for instance 

    $("#ImageFile").kendoUpload({
                   async: {
                       autoUpload: false,
                       saveUrl:'It is Null'
                   },
                   multiple: false,
                   showFileList: false,
                   select: function (e) {
                       console.log("Selected File"+ e);
                       }
Back to Top