GridExtensionBase.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 grid view column editor.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v19.2.dll

Declaration

public static ContentResult GetTokenBoxCallbackResult(
    Action<MVCxColumnTokenBoxProperties> method
)
Public Shared Function GetTokenBoxCallbackResult(
    method As Action(Of MVCxColumnTokenBoxProperties)
) As ContentResult

Parameters

Name Type Description
method Action<MVCxColumnTokenBoxProperties>

A delegate method providing the required token box properties.

Returns

Type Description
ContentResult

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

Remarks

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