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

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

Namespace: DevExpress.Web.Mvc

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

Declaration

public static ContentResult GetComboBoxCallbackResult(
    Action<MVCxColumnComboBoxProperties> method
)
Public Shared Function GetComboBoxCallbackResult(
    method As Action(Of MVCxColumnComboBoxProperties)
) As ContentResult

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