Skip to main content

ASPxClientTreeViewNode.SetEnabled(value) Method

Sets a value specifying whether the node is enabled.

Declaration

SetEnabled(
    value: boolean
): void

Parameters

Name Type Description
value boolean

true to make the node enabled; false to disable it.

Remarks

Use the SetEnabled method on the client to dynamically change a node’s ability to respond to end-user interactions. A node’s initial availability state can be defined by using the TreeViewNode.ClientEnabled property. In order to determine the node’s availability state, use the ASPxClientTreeViewNode.GetEnabled method on the client side.

Note

The SetEnabled method is not in effect if a node is initially disabled on the server by setting the TreeViewNode.Enabled property to false.

See Also