I have set the DragAndDropManager to AllowDrop="True" for a RadOutlookBar, and have set up the appropriate event handlers in the code-behind, but I'm never receiving a DropQuery or DropInfo event. It is possible to drop to an OutlookBar?
You can find attached a sample project demonstrating how to drag from a ListBox and drop into an OutlookBar. Have a look at it and let me know how it works for you.
I want to implement drag N drop functionality in outlook bar where outlookbar item cab be moved here and there.
Please provide sample code.
Thanks in advance..
Nidhi
0
Petar Mladenov
Telerik team
answered on 12 Jul 2011, 08:50 AM
Hi Nidhi,
Currently, the RadOutlookBar provides DragReorder operation "out of the box" that could be activated like so:
<telerik:RadOutlookBarAllowDragReorder="True">
<telerik:RadOutlookBarItemHeader="Item A"/>
<telerik:RadOutlookBarItemHeader="Item B"/>
<telerik:RadOutlookBarItemHeader="Item C"/>
<telerik:RadOutlookBarItemHeader="Item D"/>
<telerik:RadOutlookBarItemHeader="Item E"/>
</telerik:RadOutlookBar>
When you need to implement custom DragAndDrop behavior/operation in RadControls (using DragCue, ArrowCue, controlling the data of the source and the target) you can use the RadDragAndDropManager and its events. You can examine its demos here and its documentation here.
Regards,
Petar Mladenov
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!