バージョン

SelectionChanged プロパティ (DataTreeClientEvents)

選択が変更された後でこのイベントが発生します。
シンタックス
'宣言
 
Public Property SelectionChanged As String
public string SelectionChanged {get; set;}
使用例
WebDataTree1.ClientEvents.SelectionChanged = "WebDataTree_SelectionChanged"
WebDataTree1.ClientEvents.SelectionChanged = "WebDataTree_SelectionChanged";
// The client event 'SelectionChanged' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the DataTreeSelectionEventArgs
function WebDataTree_SelectionChanged(sender, e) {
    //Get thre newly selected tree nodes array
    var newSelectedNodes = e.getNewSelectedNodes();

    //Gets the text of the node at index 0 in the array
    var nodeText = newSelectedNodes[0].get_text();

    window.status = "Newly Selected node :" + nodeText;

}
参照