removing the nodes from source tree view

2 posts, 0 answers
  1. Venkatramanan
    Venkatramanan avatar
    2 posts
    Member since:
    Nov 2010

    Posted 27 Jan 2011 Link to this post

    hi telerik team,
       i have placed two tree views as source and destination respectively in my project. source tree view nodes are check box enabled nodes. user can check the nodes and can able to move to the destination tree view. there's a button called remove. while clicking the remove button, the selected node in the destination tree view is removed. until this i have done, but, i need the uncheck the same node, which is removed from the destination tree view. i dont know how to do that. can anyone please help me by providing the code or an example for doing so..
    plz help,

  2. Petar Mladenov
    Petar Mladenov avatar
    2882 posts

    Posted 01 Feb 2011 Link to this post

    Hi Venkatramanan,

    Please find the attached project and give it a try. Basically, It uses GetitemByPathMethod supposing that source and destination tree have identical structure. If you need to synchronize this structure when you drag a treeNode (or subtree) from the left tree(the source) and the right tree (destination ) , you can use the ItemPrepared event of the RighTtree , make a deep copy of the Item (subtree) you are dragging and place it at the corresponding place in the left tree. Feel free to ask if you need further assistance.

    Petar Mladenov
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  3. DevCraft banner
Back to Top