Move Child Node to different Parent Node?

6 posts, 0 answers
  1. Karen
    Karen avatar
    3 posts
    Member since:
    Mar 2011

    Posted 04 May 2011 Link to this post

    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
  2. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 05 May 2011 Link to this post

    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.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karen
    Karen avatar
    3 posts
    Member since:
    Mar 2011

    Posted 06 May 2011 Link to this post

    Hi Veli,

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

    Thanks!
    Karen
  5. Veli
    Admin
    Veli avatar
    2002 posts

    Posted 10 May 2011 Link to this post

    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.

  6. Karen
    Karen avatar
    3 posts
    Member since:
    Mar 2011

    Posted 11 May 2011 Link to this post

    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
  7. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 11 May 2011 Link to this post

    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.

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017