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

AutoCompleteBoxBaseSettings.CallbackRouteValues Property

Defines the callback routing logic by specifying the names of a Controller and an Action which should handle callbacks.

Namespace: DevExpress.Web.Mvc

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


public object CallbackRouteValues { get; set; }
Public Property CallbackRouteValues As Object

Property Value

Type Description

An object containing the Controller and Action names.


The following example illustrates how to use the CallbackRouteValues property.


For a full example, see the Combo Box - Features demo.

@Html.DevExpress().ComboBox(settings => {
    settings.Name = "comboBox3";
    settings.Width = 180;
    settings.SelectedIndex = 0;
    settings.CallbackRouteValues = new { Controller = "Editors", Action = "ComboBoxPartial" };
    settings.Properties.CallbackPageSize = 15;
    settings.Properties.TextField = "ProductName";
    settings.Properties.ValueField = "ProductName";
    settings.Properties.ClearButton.DisplayMode = ClearButtonDisplayMode.OnHover;
See Also