This is a migrated thread and some comments may be shown as answers.
How to Disable drag option in TreeView?
0 Answers 19 Views
This is a migrated thread and some comments may be shown as answers.
saravanakumar subramaniam
Top achievements
Rank 1
saravanakumar subramaniam asked on 13 Dec 2011, 06:12 PM
Hi,

I have implemented the Drag a item from "RadGridView" to "RadTreeView" and it is working fine. To drop an item into TreeView i have enable the IsDragDropEnabled="True", but it allowing drag and drop option with in TreeView. But in my case i need only to drag an item from Grid to Tree and not with in TreeView. Is there any way that we can avoid drag option in TreeView and only drop option should work.
i tried by  IsDragDropEnabled="False" AllowDrop="True" , But no use....

<telerik:RadTreeView x:Name="radTreeView"
                                    ItemTemplate="{StaticResource SilverlightFolderTemplate}"
                                    ItemsSource="{Binding Workspaces}"
                                    IsLoadOnDemandEnabled="True"
                                    SelectionMode="Single"
                                    IsExpandOnSingleClickEnabled="True"
                                    IsSingleExpandPath="True"
                                    IsRootLinesEnabled="True"
                                    IsLineEnabled="True"
                                    telerik:StyleManager.Theme="Office_Blue"
                                    IsDragDropEnabled="True" AllowDrop="True" IsEditable="True" />

No answers yet. Maybe you can help?

Asked by
saravanakumar subramaniam
Top achievements
Rank 1
Share this question
or