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

Drag and Drop onDrop executed by jquery

2 Answers 111 Views
Drag and Drop
This is a migrated thread and some comments may be shown as answers.
Ales Petric
Top achievements
Rank 1
Ales Petric asked on 02 Oct 2013, 01:57 PM
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 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 04 Oct 2013, 10:17 AM
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!
0
Accepted
Ales Petric
Top achievements
Rank 1
answered on 22 Nov 2013, 08:04 AM
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
Tags
Drag and Drop
Asked by
Ales Petric
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Ales Petric
Top achievements
Rank 1
Share this question
or