Drag and Drop onDrop executed by jquery

3 posts, 1 answers
  1. Ales Petric
    Ales Petric avatar
    1 posts
    Member since:
    Sep 2013

    Posted 02 Oct 2013 Link to this post

    HI

    I am trying to build simple application using kendo drag and drop feature on div tags.
    The code works under IE9 and above. When trying under Chrome browser I get critical error that immediately when dragging to fast executes onDrop automatically.
    Mouse button is still down !?

    The actual code is like:

    - define code
    - custom drop code
    - stack .. onDrop raised/called when fast move is in progress
    - console log: jquery info message

    Info message:
    Resource interpreted as Image but transferred with MIME type application/octet-stream "http://localhost:8080/test.aspx" jquery-1.9.1.js

    Google Chrome 26.0.1410.64 m
    kendo 2013.2.918
    jquery 1.9.1

    By Ales Petric

    Open
    Response deadline:
    72 hours
    Last reply date:
    2 hours ago
    Type:
    Support
    Product:
    Drag and Drop for Kendo UI Web
    CC email:
    Operating System
    Windows 7 64bit
    Browser
    Google Chrome
    Browser Version
    26.0.1410.64 m
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2565 posts

    Posted 04 Oct 2013 Link to this post

    Hi Ales,

    From the provided information it is not possible to determine or even reproduce the error that you are facing. Could you please extract a runnable sample that we can run on our machines and investigate what might be causing this undesired behaviour. 

    I would also suggest you to take a look at the following article, that might help you how to get the most of the Kendo UI support.

    http://www.kendoui.com/blogs/teamblog/posts/13-09-24/how-to-get-the-most-out-of-your-kendo-ui-support.aspx
     
    Regards,
    Kiril Nikolov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Answer
    Ales Petric
    Ales Petric avatar
    1 posts
    Member since:
    Sep 2013

    Posted 22 Nov 2013 Link to this post

    I did solve this month ago .. and this was the case:

    I was handling some events using mouse over and click event using jquery .. then modifying the objects on the screen.
    When event kendo draggable drag event came in to scope and the actual hint hadle was in case .. jquery somehow
    canceled the drag event ..

    Solution for this behavior is that all object handling involved with kendo dnd must be done in loop of kendo draggable drag event

    $("#" + id).kendoDraggable({
      drag: function (e) {
        ...
      }
    });

    by Ales
Back to Top