Summary


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.




ASP. NET 2.0 Unleashed
ASP.NET 2.0 Unleashed
ISBN: 0672328232
EAN: 2147483647
Year: 2006
Pages: 276

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net