Binding XML datasource to one of the items in Menu

2 posts, 0 answers
  1. G S S
    G S S avatar
    85 posts
    Member since:
    Mar 2008

    Posted 29 Dec 2009 Link to this post


    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?
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 30 Dec 2009 Link to this post


    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

Back to Top