Drag and drop Rad Tree View item on different page

2 posts, 1 answers
  1. Bipin
    Bipin avatar
    13 posts
    Member since:
    May 2013

    Posted 12 Jul 2013 Link to this post

    we are using rad tree view control where we have all types of chart control names (bar char, pie chart, line chart) as a tree items.
    And we want to drag and drop the tree view items of one page onto usercontrol i.e is another page.

    Examples provided on internet are having rad tree view and Target control (ie. user control) on same page. But in our case the target control is on another page. We also want to display an icon indicating whether Drop is allowed on this page or not.

    Can you provide me sample source code according to my requirement.
    Also is it possible without viewmodel?

    Bipin Dalbhide
  2. Answer
    Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 16 Jul 2013 Link to this post

    Hello Bipin,

    Can you please elaborate a bit more on the layout of your pages. As you said that you will be dragging from one page into another I was wondering what is the layout of these two pages in your application:
    • Are using a navigation with frames?
    • are you using a RadTabControl to display the different pages
    • is the drag operation supposed to trigger a page navigation

    If you can send over a sample solution demonstrating your layout so far we will take a look at it and see how we can prepare a drag/drop operation originating from our RadTreeView control. Also, if you're using a RadTabControl for navigation between the different content in your application, you can take a look at this sample that demonstrates how to drag an item from a ListBox in one tab and drop it in another tab item. Please note that during the drag operation the selected tab is changed so that you can drop the dragged item in a new tab.

    Tina Stancheva
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top