Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DragAndDrop > How to Disable drag option in TreeView?

Not answered How to Disable drag option in TreeView?

Feed from this thread
  • saravanakumar subramaniam avatar

    Posted on Dec 13, 2011 (permalink)

    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" />

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > DragAndDrop > How to Disable drag option in TreeView?
Related resources for "How to Disable drag option in TreeView?"

Silverlight DragAndDrop Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]