Export Tree nodes to excel

4 posts, 1 answers
  1. Rishi
    Rishi avatar
    43 posts
    Member since:
    Feb 2010

    Posted 08 Mar 2010 Link to this post


    I am quite not able to figure out the following:

    I have a tree view that has context menus on each tree node. One of the items in the menu is an option to allow user to export all the nodes from the root to the last of the current nodes children, is there a way to do that without having to loop through all the nodes in the tree?

    Any help is appreciated.

  2. Answer
    Veronica avatar
    1213 posts

    Posted 09 Mar 2010 Link to this post

    Hi harisha,

    Very good question indeed.

    One possible solution is to use the GetFullPath() method in the RadTreeView1_ContextMenuItemClick event like this:

    protected void RadTreeView1_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e)

    I've attached the full code as a .zip file.

    Please let me know if this was helpful.

    Best wishes,
    Veronica Milcheva
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. Venkatarajesh
    Venkatarajesh avatar
    1 posts
    Member since:
    Jun 2011

    Posted 02 May 2013 Link to this post


    I wanted to export treeview structure in to excel, so that i can clearly see the root node and it's child nodes in pictorial view. I have the dll of RADTreeview  version  of Could you please provide solution.

    Thanks in Advance....

  4. Bozhidar
    Bozhidar avatar
    1146 posts

    Posted 07 May 2013 Link to this post

    Hi Venkatarajesh,

    I regret to inform you that we no longer support RadControls for ASP.NET Classic.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top