The XML Hierarchical Menus application demonstrates how
the DOM can be used to dynamically create a menu structure similar to
the Start menu in Windows that can be used in IE4+. For a more thorough
look at the menus, click the "Read the article" link below.
This sample differs from the server control sample (shown above) in that
it encapsulates all of the menu application functionality in a class that
must then be programmatically referenced and used in an ASP.NET page.