Skip to main content

GridExtensionBase.GetComboBoxCallbackResult(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.v24.2.dll

Declaration

public static ContentResult GetComboBoxCallbackResult(
    MVCxColumnComboBoxProperties properties
)

Parameters

Name Type Description
properties MVCxColumnComboBoxProperties

An MVCxColumnComboBoxProperties object containing the required combo box settings.

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 properties parameter allows you to pass the settings required to form a proper JSON data result for the combo box whose callback is processed.

Online Examples

View Example: How to implement cascading combo boxes in the grid's edit form

View Example: How to use a combo box column in callback mode

The following code snippets (auto-collected from DevExpress Examples) contain references to the GetComboBoxCallbackResult(MVCxColumnComboBoxProperties) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also