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

Binding XML datasource to one of the items in Menu

1 Answer 45 Views
Menu
This is a migrated thread and some comments may be shown as answers.
G S S
Top achievements
Rank 1
G S S asked on 29 Dec 2009, 09:48 PM
Hi,

I have a RADMenu which currently has a couple of items (e.g. A, B, C).

I have an XML document, which I use in an XML Data Source, and want to bind to only A, so in A, I have child items which are the XML elements.

How could I achieve this?
Thanks

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 30 Dec 2009, 12:53 PM
Hello,

I guess you can access the XML file from code create the nodes and attach according to the XML data. Here is the demo which illustrates how to add nodes from code.
Add/Remove/Disable Nodes

Also checkout the following link which will shed some light on how to access XML data from code.
Loading and Saving XML to and from a TreeView Control
Loading and Saving a TreeView control to an XML file using XmlTextWriter and XmlTextReader

-Shinu.
Tags
Menu
Asked by
G S S
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or