Skip to main content

TreeListExtension.GetCustomDataCallbackResult(Object) Method

Returns the specified result back to the client side after processing a callback within an Action defined TreeListSettings.CustomDataActionRouteValues property. Passes a value that contains specific information (if any) to the client side for further processing.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static ContentResult GetCustomDataCallbackResult(
    object data
)

Parameters

Name Type Description
data Object

An object that represents any information that needs to be passed back to the client side.

Returns

Type Description
ContentResult

A ContentResult object that represents the result of an action method and encapsulates the passed value.

Remarks

Use this method in an Action specified by the TreeListSettings.CustomDataActionRouteValues property to return the result of callback processing back to the client.

See Also