Skip to main content

TreeListExtension.GetComboBoxCallbackResult(Action<MVCxColumnComboBoxProperties>) Method

Returns the specified result back to the client side after processing a callback initiated by a combo 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 GetComboBoxCallbackResult(
    Action<MVCxColumnComboBoxProperties> method
)

Parameters

Name Type Description
method Action<MVCxColumnComboBoxProperties>

A delegate method providing the required combo 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 combo box editor’s MVCxColumnComboBoxProperties.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 combo box whose callback is processed.

See Also