Treeview
To display Text in tree fashion.
- Click on Edit Nodes or Nodes (from properties window)
- Click on Add Root Node
- Click on Add Child Node
- Type Node Text in Text property,
- Select Image File Name for ImageUrl property
- Select file name for navigation in NavigateUrl property
- Select True / False from Show Checkbox property
- Select True / False from Checked property
- Type _blank in Target property for opening the file in new window
- Select True/False from Expanded property (for Root item).
Also we can specify SiteMap as Data Source for treeview. For this create a web.sitemap enter all the url’s which you like to use as Hyperlinks,create SiteMapDataSource using web.sitemap then specify SiteMapDataSource as DataSource for the TreeView.
0 comments:
Post a Comment