Hi there,
I want to embed a RadSlider control in my ItemTemplate that is used to display items in a RadTreeView control. However, when Drag & Drop is enabled for the RadTreeView (a feature I require), the Drag & Drop preview is displayed whenever adjust the RadSlider with the mouse. This obscures the view of the slider control. I would like to hide the Drag & Drop preview when I adjust the slider.
I have simplified the problem down to the following code which demonstrates the problem. Just click on the slider and adjust it, you will see a Drag & Drop preview:
I've tried implementing the MouseLeftButtonDown event on the RadTreeView control and setting e.Handled = true, but the event still seems to bubble up and cause the Drag & Drop Preview to be displayed over top of the RadSlider control.
Is there a way to prevent the Drag & Drop Preview from being displayed when I adjust the RadSlider control but still have the ability if I click elsewhere to be able to Drag the item (I need to be able to reorder items in the RadTreeView control which is why I need the Drag and Drop support)?
Thanks, Richard
I want to embed a RadSlider control in my ItemTemplate that is used to display items in a RadTreeView control. However, when Drag & Drop is enabled for the RadTreeView (a feature I require), the Drag & Drop preview is displayed whenever adjust the RadSlider with the mouse. This obscures the view of the slider control. I would like to hide the Drag & Drop preview when I adjust the slider.
I have simplified the problem down to the following code which demonstrates the problem. Just click on the slider and adjust it, you will see a Drag & Drop preview:
<telerikNavigation:RadTreeView IsDragDropEnabled="True" Grid.Column="1"> |
<telerikNavigation:RadTreeViewItem Header="Test" IsExpanded="True"> |
<telerik:RadSlider Minimum="0" Maximum="100" Width="100" HorizontalAlignment="Left" /> |
</telerikNavigation:RadTreeViewItem> |
</telerikNavigation:RadTreeView> |
I've tried implementing the MouseLeftButtonDown event on the RadTreeView control and setting e.Handled = true, but the event still seems to bubble up and cause the Drag & Drop Preview to be displayed over top of the RadSlider control.
Is there a way to prevent the Drag & Drop Preview from being displayed when I adjust the RadSlider control but still have the ability if I click elsewhere to be able to Drag the item (I need to be able to reorder items in the RadTreeView control which is why I need the Drag and Drop support)?
Thanks, Richard