ASPxTreeList.FindNodeByFieldValue(String, Object) Method

Returns a node by its value in the specified column.

Namespace: DevExpress.Web.ASPxTreeList

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


public TreeListNode FindNodeByFieldValue(
    string fieldName,
    object value
Public Function FindNodeByFieldValue(
    fieldName As String,
    value As Object
) As TreeListNode


Name Type Description
fieldName String

A String value that identifies the data column by the name of the data field.

value Object

An object that represents the search value.


Type Description

A TreeListNode object that represents the node with the specified value in the specified column. null (Nothing in Visual Basic) if the node was not found.


The FindNodeByFieldValue method returns the first node found that contains the specified value in the specified column. To obtain all nodes that contain the specified value in the specified column, use the ASPxTreeList.FindNodesByFieldValue method.

To learn more, see Nodes.

See Also