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

draggable Div in droptarget Div?

1 Answer 172 Views
Drag and Drop
This is a migrated thread and some comments may be shown as answers.
Kia
Top achievements
Rank 1
Kia asked on 23 Sep 2012, 12:42 PM
Hi
I have this view :
<div class="draggable" style="width: 50px;height: 50px;background-color: chartreuse;">Test</div>


<div id="droptarget">
    <div class="test1" style="background-color: aqua; width: 200px; height: 200px;">
      Start dragging.
      </
div>
    <div class="test2" style="background-color: brown; width: 200px; height: 200px;">
        Start dragging.
     </
div>
</div>


when draggable Div added to test1 Div or test2  i want the draggable Div can switch between the test1 or test2.
How do i ?
Tanx.

1 Answer, 1 is accepted

Sort by
0
Nohinn
Top achievements
Rank 1
answered on 03 Oct 2012, 03:58 PM
You will need the latest commercial version of Kendo UI Web (SP version) and use as an example this demo:
http://demos.kendoui.com/web/dragdrop/area.html 
Tags
Drag and Drop
Asked by
Kia
Top achievements
Rank 1
Answers by
Nohinn
Top achievements
Rank 1
Share this question
or