Skip to main content

AutoCompleteBoxPropertiesBase.CallbackPageSize Property

Specifies the number of items that the control returns from the server on each callback.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public int CallbackPageSize { get; set; }

Property Value

Type Default Description
Int32 100

The number of items.


The control loads the number of items specified in the CallbackPageSize property on the initial page load and on subsequent callback requests to the server. For instance, the editor can load items as a user scrolls the list. This number should be greater than or equal to the AutoCompleteBoxPropertiesBase.DropDownRows property value.

This property is in effect if the AutoCompleteBoxPropertiesBase.EnableCallbackMode property is set to true.


The CallbackPageSize property synchronizes its value with the value of the editor’s ASPxAutoCompleteBoxBase.CallbackPageSize property.

Web Forms approach:

ASPxComboBox - Item Load Mode

<dx:ASPxGridView ID="Grid" runat="server" DataSourceID="SqlDataSource1">
        <dx:GridViewDataComboBoxColumn FieldName="Orders.ShipName">
            <PropertiesComboBox EnableCallbackMode="true" CallbackPageSize="30" />
        <!-- ... -->
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ...></asp:SqlDataSource>

Run Demo: Callback Mode

MVC approach:

@Html.DevExpress().GridView(settings => {
    settings.Name = "grid";   
    settings.Columns.Add(column => {
        column.FieldName = "ShipID";
        column.ColumnType = MVCxGridViewColumnType.ComboBox;
        column.EditorProperties().ComboBox(p => {
            p.CallbackRouteValues = new { Controller = "Home", Action = "ShipsComboBox" };
            p.ValueField = "ShipID";
            p.TextField = "ShipName";
            p.ValueType = typeof(int);
            p.CallbackPageSize = 30;

Run Demo: MVC Combo Box - Features

View Example: MVC ComboBox Extension - Cascading Combo Boxes

See Also