Remove all nodes except Root node

2 posts, 0 answers
  1. Telerikuser
    Telerikuser avatar
    35 posts
    Member since:
    May 2009

    Posted 17 Jul 2009 Link to this post

    I want to remove all the nodes but the root node. Please let me know.

    Thanks
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 17 Jul 2009 Link to this post

    Hi ,

    please use

    RadTreeView1.Nodes[0].Nodes.Clear();

    Regards,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top