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

Move Child Node to different Parent Node?

5 Answers 121 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Karen
Top achievements
Rank 1
Karen asked on 04 May 2011, 05:40 PM
I just recently purchased the Telerik Ajax RAD controls and I was wondering if it is possible to move a child node from one parent node to a different parent node in the TreeList control?  I didn't see a demo for this type of functionality, so I was wondering if it's included.  If not, would it be possible to customize the control to allow this functionality?  I noticed a forum post "TreeList Drag'n'Drop Example (jQuery)" where someone customized the control to have drag and drop functionlity.  Would that customization allow moving child nodes to different parent nodes (I'm not technical, so I can't read the code and try it out)?

Thanks!
Karen

5 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 05 May 2011, 08:05 AM
Hi Karen,

RadTreeList item drag'n'drop functionality will be included in the next major release (2011 Q2). It will allow you to move treelist items and drop them over other items and HTML elements on the page. For now, the community-provided RadTreeList Drag'n'Drop with jQuery example demonstrates one custom implementation you can use. Moving child nodes to different parent nodes (essentially boiling down to updating the parent data key names of dragged items) would be a requirement you need to implement on top of the drag'n'drop behavior, which is a pure client-side feature.

Veli
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Karen
Top achievements
Rank 1
answered on 06 May 2011, 05:29 PM
Hi Veli,

Will the drag and drop functionality being added to the TreeList control also be added to the Grid control?

Thanks!
Karen
0
Veli
Telerik team
answered on 10 May 2011, 08:36 AM
RadGrid already supports Items Drag'n'Drop. You can drag grid items to various targets, including other RadGrid instances.

Veli
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

0
Karen
Top achievements
Rank 1
answered on 11 May 2011, 04:32 PM
Thanks Veli.  I hadn't seen the Drag-and-drop listed in the features. 

I noticed that the TreeList has "Conditional Formatting" listed as a feature, but I didn't see that as a feature for the Grid control.  Does the Grid control allow conditional formatting?  If not, is that going to be added at some point?

Thanks!
Karen
0
Sebastian
Telerik team
answered on 11 May 2011, 05:40 PM
Hello Karen,

The AJAX grid do support conditional formatting although there is no dedicated live demo for that. However, this is illustrated in this example and explained in this documentation topic.

Kind regards,
Sebastian
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
TreeList
Asked by
Karen
Top achievements
Rank 1
Answers by
Veli
Telerik team
Karen
Top achievements
Rank 1
Sebastian
Telerik team
Share this question
or