TreeListExtension.GetTokenBoxCallbackResult(Action<MVCxColumnTokenBoxProperties>) Method

Returns the specified result back to the client side after processing a callback initiated by a token box used as a TreeList column editor.

Namespace: DevExpress.Web.Mvc

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


public static ContentResult GetTokenBoxCallbackResult(
    Action<MVCxColumnTokenBoxProperties> method


Name Type Description
method Action<MVCxColumnTokenBoxProperties>

A delegate method providing the required token box properties.


Type Description

A ContentResult object that is the result of an action method.


Use this method in an Action specified by the token box editor’s MVCxColumnTokenBoxProperties.CallbackRouteValues property to return the result of callback processing back to the client.

The method parameter allows you to provide the settings required to form a proper JSON data result for the token box whose callback is processed.

See Also