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

Drag and drop ListBox items with custom selection.

1 Answer 22 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 12 May 2014, 04:47 PM
Hi,
i've got some custom selection behavior for my ListBox items (checkboxes in DataTemplate).
I'm generating my own custom payload. 
But I want to enable reordering. In this case ListBoxDragDropBehavior overrides my payload with it's own payload. 
How can I control this flow to prevent overriding my payload. 
Thanks!

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 15 May 2014, 01:10 PM
Hi Pavel,

Thank you for contacting us.

If I understand correctly the scenario you have implemented a custom drag drop functionality with the DragDropManager and have used the ListBoxDragDropBehavior at same time in order to enable reordering? We don't recommend using both approaches together as this may cause such issues. However what I can suggest you is to check the attached sample project which demonstrates how to implement reordering of the ListBoxItems using only the DragDropManager.

Hope this helps.

Regards,
Kalin
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
DragAndDrop
Asked by
Pavel
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or