Drag from Grid to TreeView

4 posts, 0 answers
  1. Mike
    Mike avatar
    2 posts
    Member since:
    Jun 2011

    Posted 03 Jun 2011 Link to this post

    System Specifications:
       - RadControls for WPF Q3 2010 SP1
       - Windows XP SP3
       - VS2010 .NET 4.0
       - C#

    The DragAndDrop TreeToGrid example in the WPF Demos shows dragging from a Grid to TreeView. I have implemented a WPF application in a TileView that contains several tiles with TreeViews and GridViews in separate tiles. Drag and Drop from a TreeView to GridView works however drag and drop from the GridView to TreeView does not. Is this functionality supported in RadControls for WPF Q3 2010 SP1? The DragAndDrop TreeToGrid example in the WPF Demos shows example code but not XAML. Is the TreeToGrid XAML viewable?

    Thanks,
    Mike
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 03 Jun 2011 Link to this post

    Hello Mike,

    Please take another look at the example you mentioned. As you would notice, only the AllowDrag property is set for the RadGridView. You may try to set the AllowDrop property to verify whether you get the same behavior. Let me know how it goes and if this resolves the issue.
     

    Kind regards,
    Maya
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for WPF is Visual Studio 2017 Ready
  4. Scott
    Scott avatar
    7 posts
    Member since:
    May 2011

    Posted 03 Jun 2011 Link to this post

    Hi Maya,

    I would like to do exactly what is being done in the example DragAndDrop --> Tree to Grid Drag.

    When I try to view the code, the file Example.xaml.cs is available, but there is no Example.xaml file to go with it.  Could you please post a link to the Example.xaml file that makes the application work?  Most of the examples include an Example.xaml file and they are very helpful.

    Best regards,
    Scott
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 06 Jun 2011 Link to this post

    Hello Scott,

    Indeed, the xaml file is not visible for that particular example. We will try to fix that. In the meantime, I may suggest you to take a look at the equivalent code for Silverlight or the online documentation that provides the same case. Yet another possible approach would be to use your own local copy of the examples and find the one mentioned here.
    I hope that helps.

    All the best,
    Maya
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top