バージョン

ActivationChanged プロパティ (DataTreeClientEvents)

アクティベーションの後にこのイベントが発生します。
シンタックス
'宣言
 
Public Property ActivationChanged As String
public string ActivationChanged {get; set;}
使用例
WebDataTree1.ClientEvents.ActivationChanged = "WebDataTree_ActivationChanged"
WebDataTree1.ClientEvents.ActivationChanged = "WebDataTree_ActivationChanged";
// The client event 'ActivationChanged' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the DataTreeActivationEventArgs

function WebDataTree_ActivationChanged(sender, e) {

    //Gets the new active Node object
    var newActiveNode = e.getNewActiveNode();

    //Gets the text of the new active node
    var newNodeText = newActiveNode.get_text();

    window.status = "New Active Node : " + newNodeText;
    
}
参照