Adding Client script to TreeNode Click Event

Most of the ASP.NET 2.0 controls provide way to add client events to them. For example, TextBoxes, checkbox are simply rendered as <input> elements and can be easily hooked to JavaScript functions either programmatically or declaratively. However, TreeNode is a special case in that. There is no straightforward way to hookup client events to it….