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

Can't find the class DragDropBehavior

3 Answers 46 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 14 Oct 2014, 08:48 AM
I'm trying to write a custom drag drop behaviour, and as I understand it I start by deriving a class from Telerik.Windows.Controls.DragDropBehavior. The problem is Telerik.Windows.Controls doesn't seem to contain the class DragDropBehavior. Have I completely misunderstood something?

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 14 Oct 2014, 12:35 PM
Hello Dave,

Some of our controls provide its own DragDropBehaviors that can be inherited and modified as required. So could you please share some more details on what exactly you need to achieve and which controls do you use? You could also check the DragDropManager, which might help you to implement the needed drag drop logic.

I'm looking forward to hearing from you.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Dave
Top achievements
Rank 1
answered on 14 Oct 2014, 03:42 PM
I'm dragging files (eg from Explorer) and dropping onto a control of my own. I just needed a basic drag-drop behaviour and I thought the Telerik library had a base class DragDropBehaviour that would provide a useful starting point. In fact the behaviour I needed was very straightforward so I've implemented it from scratch. I obviously misunderstood. Thanks anyway.
0
Kalin
Telerik team
answered on 16 Oct 2014, 08:18 AM
Hello Dave,

I'm glad you have managed to achieve the desired. For scenarios like this one we recommend using the DragDropManager as I already suggested in my previous post.

If you have any further questions or concerns, please do not hesitate to contact us.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
DragAndDrop
Asked by
Dave
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Dave
Top achievements
Rank 1
Share this question
or