Hello,
We have recently upgraded our telerik dll's and discovered a problem with drag and drop. Our application would allow users to drag the GridViewHeaderCell to an area which would let them build charts based on that column.
We were using RadDragAndDropManager and realised that it is unsupported, so I have attempted to move to the new DragDropManager but it does not work either.
We have created a control called "DraggableControl" which we place into the GridViewHeaderCell. We can see the control getting instantiated, and the drag events set, but when we physically drag it, the events are never fired. Our control template looks like this. As you can see we are setting the AllowDrag property which should mean we can drag this object?
Any ideas as to what is wrong? Is it possible to drag a grid view column header to somewhere outside the grid?
<
Style
TargetType
=
"controls:DraggableObject"
>
<
Setter
Property
=
"Telerik_Windows_Controls_DragDrop:RadDragAndDropManager.AllowDrag"
Value
=
"True"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
<
ControlTemplate
TargetType
=
"controls:DraggableObject"
>
<
Grid
Background
=
"Pink"
x:Name
=
"xxx"
>
<
ContentPresenter
Content
=
"{Binding}"
>
</
ContentPresenter
>
</
Grid
>
</
ControlTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>