A newer version of this page is available. Switch to the current version.

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.v18.2.dll

Declaration

public static ContentResult GetCustomDataCallbackResult(
    object data
)
Public Shared Function GetCustomDataCallbackResult(
    data As Object
) As ContentResult

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