![]() This property points to the image file that is displayed for the node. This property indicates the destination for the URL represented by the NavigateUrl property (new windows, current windows, and so forth). This property points to the URL of the page where the user is navigated after clicking on the node. This property specifies a value that can be accessed programmatically when the node is clicked or expanded. This property specifies the text that appears for that node. The following table lists some of the important properties of TreeNode class: The tree nodes are represented in the markup by tag. TreeView consists of one or more nodes represented by the TreeNode class. ![]() The TreeView control is represented by the mark tag and the corresponding class .WebControls.TreeView. TreeView comes handy in all such cases.īefore delving into the details of TreeView, get acquainted with the basics first. You may want to display them in certain categories such as Products, Services, and Support. The same categorization is applicable for the Web site pages. You may want to arrange the product information on category and subcategory bases. For example, suppose your Web site sells products that belong in various categories. This article examines the TreeView control, which you use to display hierarchical data. ![]() They provide not only good-looking navigational structure but also save developers from needing to write lots of code and script. Fortunately, ASP.NET 2.0 comes with these controls built-in. In classic ASP, developers used either custom code or third-party solutions to provide navigational elements such as TreeViews and Menus.
0 Comments
Leave a Reply. |