ASP.NET 2.0 Unleashed
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. |
Категории