ASP.NET 2.0 Unleashed
In this chapter, you learned how to use the SiteMapPath, Menu, and treeView Controls. First, you learned how to use the SiteMapPath control to display a breadcrumb trail. You learned how to format the SiteMapPath control with styles and templates. Next, you explored the Menu control. You learned how to create both vertical and horizontal menus. You also learned how you can bind a Menu control to different data sources such as Site Maps, XML documents, and database data. The TReeView control was also discussed. You learned how to display check boxes with a treeView control. You also learned how to bind a treeView control to different data sources such as Site Maps, XML documents, and database data. You also learned how to display a large set of Tree nodes efficiently by using AJAX and the treeView control. Finally, we created a custom SqlHierarchicalDataSource control that enables you to easily bind controls such as the Menu and TReeView controls to hierarchical database data. |
Категории