--

...

--

...

--

...

--

...

--

....

Showing posts with label Using TreeView. Show all posts
Showing posts with label Using TreeView. Show all posts

Friday, 25 May 2018

Using TreeView Control


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.

Introduction to C# .NET

It  is  pure  object  oriented  programming  language.  Also  it  is  Event Driven Programming Language. It is case sensitive. ...