Click here to Skip to main content
15,884,099 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi,
I want to open and parse the Web.SiteMap in the Site Mater code behind (SiteMaster.cs). I am using the SiteMapDataSource. We can have the open SiteMap file using it, but it does not provide any mathods to parse the file in the code behind. Does anybody has the idea of how to do it? Either this way or do I need to go form the normal XML parsing programmatically.
Actually I do need to generate the menus from Web.Sitemap dynamically according to the CSS layout which I am using.
I have tried asp:Menu with SiteMapData source. It is not giving the results which I want to. Tried different styling techniques. Now, I want to purse the XML parsing option.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900