While the <asp:menu> control may be a match, be aware that many people have created these kinds of controls and published them. Microsoft's control is first generation. Many of the third party controls have gone through many updates with customer feedback giving them a very rich feature set. (This is true for all kinds of web controls.) I recommend exploring what's available at this site's Control Gallery,www.123aspx.com, andwww.411asp.net. You may find something that provides a great UI without much work on your own. Merely as an example,Telerik makes r.a.d. panelbar that represents this kind of UI.
You can get a better understanding of how such a control works and get the source code for a simple expand/contract control from an excellent MSDN article on building new controls. The article is called:
A Crash Course on ASP.NET Control Development: Building New Controls from the Ground Up and is by Dino Esposito. It's at:
http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/ContCrshCrsNew.asp
Hope this helps,
Steve
0 comments:
Post a Comment