Drop ListBoxItem onto docking control

2 posts, 0 answers
  1. ultramods
    ultramods avatar
    18 posts
    Member since:
    Sep 2009

    Posted 06 Oct 2010 Link to this post

    I have been trying to drop a list box item onto the docking control but it will not work, is it possible? I added the drag drop demo example with the 2 lists (all applications and my applications) to my page and this works fine. Next I added the docking demo example (split containers) and added the relevant Drop=true properties etc. What I would like to do is drag widgets and drop from the list onto the dock control. On the drop  a new RadPane would be added to the dock control for the newly added widget.
  2. George
    George avatar
    1332 posts

    Posted 12 Oct 2010 Link to this post


    Yes, it is possible. But it is not an easy task. I would suggest you to use PaneGroupExtensions class in order to implement RadDocking with MVVM pattern. After that, when you drag and drop an item in the RadPaneGroup, you could add it in the PaneGroupExtensions.ItemsSource collection and this creates a new RadPane in the group.

    Please, pay attention to that this example shows only the basic idea and it has some limitations - it works only for one RadPaneGroup.

    Attached you can find the sample. I hope this helps.

    Kind regards,
    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