October 2010
Intermediate to advanced
1920 pages
73h 55m
English
As an alternative to binding a Menu control to a SiteMapDataSource control, you can bind the control to an XML document by using the XmlDataSource control. For example, suppose that you have the XML file in Listing 22.10.
Listing 22.10. Menu.xml

The page in Listing 22.11 displays the contents of Listing 22.10 by using an XmlDataSource control to represent the XML document.
Listing 22.11. MenuXML.aspx

When using the XmlDataSource control, you can use the XPath property to supply an xpath query that restricts the nodes returned ...
Read now
Unlock full access