![]() For this example to work correctly, you must copy the sample site map data, provided after this code example, to a file named Web.sitemap. The following code example demonstrates how to use the TreeView control for site navigation by binding it to a SiteMapDataSource control. The following code example provides sample XML data for the preceding example. For this example to work correctly, you must copy the sample XML data, provided after this code example, to a file named Book.xml. The following code example demonstrates how to bind the TreeView control to an XML data source. This example is used within the frame set of the preceding example to display a table of contents. The following code example demonstrates how to use declarative syntax to display static data in the TreeView control. The following code example demonstrates how to set up the frames for the following code example. The seventh code example demonstrates how to populate the nodes in the TreeView control from the client. The sixth code example provides sample site map data for the fifth code example. The fifth code example demonstrates how to use the TreeView control for site navigation by binding it to a SiteMapDataSource control. The fourth code example provides sample XML data for the third code example. The third code example demonstrates how to bind the TreeView control to an XML data source. The second code example demonstrates how to use declarative syntax to display static data in the TreeView control. The first code example demonstrates how to set up the frames for the second code example. This section contains seven code examples: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |