Sorry -- to clarify, this DOES output to an xml file -- it is all automatic. You would set your menu datasource to the xml file. Note in particular the " XPath="/Home/Menu" instruction for your datasource. Happy programming.
<asp:Menu id="Menu1" runat="server" z-index="8" BorderStyle="None"...
Another way that works great is to utilize the code below to read an Access Query, and then ouput to an xml file directly readable by the Menu control. The query is three tables nested within one another (for a 3 level menu). The sql for the query is listed below as well.
Sub...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.