DragDrop Problem

5 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Dec 2010

    Posted 24 Dec 2010 Link to this post

    I use the TreeView control. And I want to drag some child node to other place. But I found some problem when I draged the [Football] node, the [Sport Categories] node was moved actually. How can I do that only drag and move the [Football] node? Thank you.

    <
    telerik:RadTreeView x:Name="radTreeView" IsDragDropEnabled="True" PreviewDragStarted="radTreeView_PreviewDragStarted">
       
    <telerik:RadTreeViewItem Header="Sport Categories">
           
    <telerik:RadTreeViewItem Header="Football">
               
    <telerik:RadTreeViewItem Header="Futsal"/>
               
    <telerik:RadTreeViewItem Header="Soccer"/>
           
    </telerik:RadTreeViewItem>
           
    <telerik:RadTreeViewItem Header="Tennis">
               
    <telerik:RadTreeViewItem Header="Table Tennis"/>
           
    </telerik:RadTreeViewItem>
           
    <telerik:RadTreeViewItem Header="Cycling">
               
    <telerik:RadTreeViewItem Header="Road Cycling"/>
               
    <telerik:RadTreeViewItem Header="Indoor Cycling"/>
               
    <telerik:RadTreeViewItem Header="Mountain Bike"/>
           
    </telerik:RadTreeViewItem>
       
    </telerik:RadTreeViewItem>
    </
    telerik:RadTreeView>

    I track in PreviewDragStarted event, and view the e.DraggedItems paremeter, Only [Sport Categories] node in it.
  2. David
    David avatar
    3 posts
    Member since:
    Dec 2010

    Posted 25 Dec 2010 Link to this post

    Who can help me? please
  3. DevCraft banner
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 28 Dec 2010 Link to this post

    Hi David,

    Could you please examine the attached project where a custom DragAndDrop logic is demonstrated. Basically, you can drag and drop from one tree to another, but you cannot drag and drop from one tree to itself. If the solution doesn`t satisfies you, we would highly appreciated if you send  us a sample demonstrating the issue you have come up with. This way we could investigate in depth and provide you with a better advice. Thank you in advance for your cooperation.

    All the best,
    Petar Mladenov
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. David
    David avatar
    3 posts
    Member since:
    Dec 2010

    Posted 31 Dec 2010 Link to this post

    I use the patch(01001RC_Silverlight4_2010_3_1227_DEV_hotfix). The bug is not exist. I think that it's maybe a bug in old version. Thank you for your help.
  6. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 31 Dec 2010 Link to this post

    Hi David,

    Yes you are right, there was an issue introduced with the official release that is now fixed. Please accept our apology for the caused inconvenience. Let us know if we can further assist you.

    Regards,
    Tina Stancheva
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner