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

Drag Drop between treeview & ListBox

6 Answers 109 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
saurabh
Top achievements
Rank 1
saurabh asked on 08 Nov 2010, 11:05 AM

hi,

How to enable drag drop to Listbox?
I want to drag element from telerik treeview & drop in ListBox.
Can anybody provide sample with all events in detail to handle this scenario?


Thanks & Regards,
Saurabh

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 08 Nov 2010, 11:15 AM
Hello,

 Have you checked this demo?

Regards,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
saurabh
Top achievements
Rank 1
answered on 12 Nov 2010, 09:42 AM
I had already gone with same example

But same example seems to be not working for child window.

Please suggest with steps need to follow.

Thanks

0
Tsvyatko
Telerik team
answered on 12 Nov 2010, 10:29 AM
Hi saurabh,

Dragging in child windows and popups in Silverlight requires some additional step (since they are not part of the main visual tree.) Please check this article and let me know if you have any further questions - http://www.telerik.com/help/wpf/raddraganddrop-child-window-non-telerik-popups.html.

Regards,
Tsvyatko
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
saurabh
Top achievements
Rank 1
answered on 12 Nov 2010, 10:37 AM
Let me explain complete requirement.

I have telerik treeview on popup along with stackpanel.

Stackpanel contains list of objects of usercontrols (different class than popup child window) in  which each usercontrol contains listbox.

i want drag drop from tree to listbox inside stackpanel.

Tree is having ParticipatingVisualRoots as child window class but stackpanel objects (user controls) have different ParticipatingVisualRoots .

Please make me correct if anything wrong
0
Accepted
Tsvyatko
Telerik team
answered on 15 Nov 2010, 06:10 PM
Hi saurabh,

I have prepared simple project demonstrating how achieve drag drop functionality in the scenario described above. Please have a look at the attachment and let me know if you have any further questions.

All the best,
Tsvyatko
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
0
saurabh
Top achievements
Rank 1
answered on 30 Nov 2010, 07:34 AM
Above functionality seems Telerik child window instead of simple silverlight child window.
Tags
DragAndDrop
Asked by
saurabh
Top achievements
Rank 1
Answers by
Vlad
Telerik team
saurabh
Top achievements
Rank 1
Tsvyatko
Telerik team
Share this question
or