Drag ItemTemplate only text

Brian

I have been attempting to incorporate the Drag and Drop example for two listBoxes. Yet, when i drag my item it just shows the text and not the item template from the listBox. I have included a image to show what i am talking about...

This will approve drag from these listboxitems, set the payload from their DataContext and generate screenshot from them as DragCue. Thus you can simply delete the dragquery handler method.
Note that autodrag will only trigger its logic if the e.QueryResult in DragQuery is null.

Let me know if you need any further assistance.

Best wishes,
Tsvyatko
the Telerik team

Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>

Brian

Thanks, that got me close enough to get it working. the ListItem still comes across as a box, but it contains the itemtemplate. I had to eliminate the use of the Var operation which was the DragDropOperation type, but the rest of the functionality works acordingly.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.