Read XML in sitemap to generate dynamic menu in ASP.NET

ASP.Net 2.0 onwards you are provided with features like the Menu control which can be used to generate the menu from different sources. One of the popular sources of the menu control is the sitemap file.

_______________________________________________


_______________________________________________

The site map file is web.sitemap. This file can be automatically generated for a particular project from the solution explorer in the Visual Studio .Net 2005.

If you want to create a menu, just drag the menu control to your aspx page. The orientation of the menu can be controlled in the properties window. It could be horizontal or vertical. The elements like title, URL, and description found in the sitemap file is used for creating menus.

The menu control's data source is set to a function that returns the SiteMapDataSource. Finally use the DataBind method to bind the sitemap data source to the control. This would create the menu you want from the sitemap file.

Software Review - StyleVision 2008 from Altova (Blogcritics.org)
If you want an easy way to transform XML and database content into eye-catching output, you need to check out StyleVision 2008. StyleVision is a visual stylesheet designer that can be used for transforming XML and database content into HTML pages, RTF Documents, PDF reports, Word 2007 (OOXML), and Authentic Electronic Forms. StyleVision is standards-based and supports XSLT 1.0/2.0, XSL:FO, CSS, ...

Intel's XML Software Suite Improves XML Performance by 200% (SYS-CON Media)
XML data descriptions can be exhaustive, often creating performance and scalability challenges for the enterprises, which is why the Intel XML Software Suite is fully compliant with industry standards and optimized to take advantage of Intel platform technologies.



FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.

Name:
Email:

Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.

_______________________________________

Recommended XML Books

cover
cover
cover
cover
cover
cover







 

 

FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.

Name:

Email:

Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.

 

 

Add to My Yahoo!


New XML Books Titles - Best Seller's @ Amazon.com

Visit XML Training Material Guide Homepage

Technology helps engage students - how do classroom instruction and social dynamics change when the classroom is completely dependant on modern technology?

Dallas Web Design- local Dallas web design firm offers site design and backend system development