Skip to main content

TreeListCustomButtonCallbackEventArgs.NodeKey Property

Specifies the node key to which the clicked button belongs.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public string NodeKey { get; }

Property Value

Type Description
String

The node key.

Remarks

<ASPxTreeList ID="ASPxTreeList1" onCustomButtonCallback="ASPxTreeList1_CustomButtonCallback">
    ...
</ASPxTreeList>
protected void ASPxTreeList1_CustomButtonCallback(object sender, TreeListCustomButtonCallbackEventArgs e) {
    if (e.NodeKey == "clicked_node_key"){
        // your code
    }
}
See Also