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
Declaration
Property Value
Type | Description |
---|---|
Object | An object containing the Controller and Action names. |
Remarks
The following example illustrates how to use the CallbackRouteValues property.
Note
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;
}).BindList(Model).GetHtml()
See Also