This is a migrated thread and some comments may be shown as answers.

Drag and drop Rad Tree View item on different page

1 Answer 31 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Bipin
Top achievements
Rank 1
Bipin asked on 12 Jul 2013, 07:22 AM
Hi
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?

Thanks
Bipin Dalbhide

1 Answer, 1 is accepted

Sort by
0
Accepted
Tina Stancheva
Telerik team
answered on 16 Jul 2013, 12:06 PM
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.


Regards,
Tina Stancheva
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
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 >>
Tags
TreeView
Asked by
Bipin
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Share this question
or