Changing the tree-node's style on dragging

1 posts, 0 answers
  1. Telerik Admin
    Telerik Admin avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 15 Mar 2006 Link to this post


    r.a.d.treeview version

    programming language


    .NET version


    Visual Studio version


    browser support

    all supported by r.a.d.treeview

    This sample project shows how to change the style of a tree-node that is being dragged onto another treeview. 

    The project uses client-side approach to get the dragged node and change its style:

    var dragElement = treeView.DragClone.getElementsByTagName("SPAN")[0];     
     = "15px"; = "red";

    You can add more styles (properties) according to your needs. 
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.