This is a migrated thread and some comments may be shown as answers.

Xml File Input for RadTreeView Control?

1 Answer 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Medac
Top achievements
Rank 1
Medac asked on 16 Oct 2009, 11:59 AM
Hi,

I have one xml file which contains tree nodes.
I need to add some nodes to tree based on condition.
And after adding the node i should display the tree structure.

Ex: XML File Contains nodes like - [In XML file I have aronud 250 Nodes like  this so I dont want hard code this in my aspx page.]

Group
    Group Type
Home
    Home Type

After adding new nodes at server side it should look like as below.

Group
    Group Type
        Group Type = 'A'
Home
    Home Type
        Home Type = 'N'

Is there in sample code to demonstrate this scenario in Telerik web site?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 16 Oct 2009, 12:43 PM
Hello Medac,

Check out the following document which explains how to populate a RadTreeView control using a an Xml file. Hope this helps:
Loading XML Content

Thanks
Princy.
Tags
TreeView
Asked by
Medac
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or