Skip to main content
A newer version of this page is available. .
Tab

ListBoxProperties.CallbackPageSize Property

Gets or sets the number of items returned from the server on each callback request performed in response to a predefined client user action.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(100)]
public int CallbackPageSize { get; set; }

Property Value

Type Default Description
Int32 100

An integer value that specifies the number of items to dynamically obtain from the server.

Remarks

This property is in effect if the ListBoxProperties.EnableCallbackMode property is set to true. In this mode, only a specific portion of the items list is initially sent to the client, then other items are dynamically loaded via callbacks from the server on demand (for instance, when an end-user scrolls the editor’s item list). Use the CallbackPageSize property to specify the number of items to be obtained from the server each time when it’s required (the initial number of items also depends upon the CallbackPageSize property’s setting).

Note

Note that in multiple selection mode, all list items are always sent to the client, and loading items on demand via callbacks is not supported. So, setting the editor’s ListBoxProperties.EnableCallbackMode and ListBoxProperties.CallbackPageSize properties is not in effect.

Note

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

See Also