WEBSWAPP Silverlight ASP.NET 3.5 ASP.NET 2.0 ASP.NET 1.0
Cascading Lists
ITemplate
DDL in GridView
G/V MultiSelect
Nested GridViews
RegExp
DataGrid Reorder
Events fire twice
Hyperlink Field
TextBox
UpdateParameters
MultiView
TreeView
C# Demo TreeNodeCheck PopulateOnDemand Custom

TreeView manipulation using JavaScript

Skip Navigation Links.
The TreeView server control does not provide client-side functions such as the number of checked items on the TreeView or changing the colors of the checked nodes. All these activities have to be done using customized JavaScript. In this demo I perform the following JavaScript manipulations:
  1. Count the number of checked nodes
  2. Suppress the ToolTip display when the mouse if hovered over the checkbox
  3. Change the style of the first node

In another demo in this section, "Custom TreeView", I perform more JavaScript manipulations by creating a custom server control instead of using the provided TreeView Control.

Check on several nodes in the TreeView then click on this button to get a count of the checked nodes

Click on this button display on the checkbox
Click on this button of the top node in the TreeView
Click on this button when the image beside any entry is clicked. Then click on the image beside each entry to have an alert message indicating which entry was clicked.

Source code:

C# Demo source code