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.v24.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
public static ContentResult GetTokenBoxCallbackResult(
Action<MVCxColumnTokenBoxProperties> method
)
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.