Chapter 17. Using the Navigation Controls


In this Chapter

  • Understanding Site Maps

  • Using the SiteMapPath Control

  • Using the Menu Control

  • Using the TreeView Control

  • Building a SQL Hierarchical Data Source Control

  • Summary

In this chapter, you learn how to use the SiteMapPath, Menu, and TReeView controls. All three of these controls can be used to enable users to navigate your website. Furthermore, the Menu and treeView controls can be used independently of website navigation. You can bind these two controls to other data sources such as XML documents or database data.

This chapter explores different methods of binding the Menu and TReeView controls to different data sources and shows you how to format the rendered output of both of these controls. You also learn how to take advantage of AJAX when working with the TReeView control.

In the final section of this chapter, we build a SqlHierarchicalDataSource control, which enables you to bind controls such as the treeView and Menu 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