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

ASPxListBox.EnableCallbackMode Property

Gets or sets a value that specifies whether the editor’s list items can be loaded to the client side on demand via callbacks.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool EnableCallbackMode { get; set; }

Property Value

Type Default Description
Boolean **false**

true, if on demand item loading is available; otherwise, false.

Remarks

This property is a wrapper of the ListBoxProperties.EnableCallbackMode property.

Note

Callback Mode Limitations * If the control ViewState is enabled, it gets all items on a load, regardless of the EnableCallbackMode property value (excluding the multicolumn mode). Therefore, it is recommended for you to disable the view state when you use callback mode.

  • Loading items on demand is supported in single selection mode only (the ASPxListBox.SelectionMode property is set to Single). In other selection modes, all list items are always sent to the client. So, setting the editor’s ASPxListBox.EnableCallbackMode and ASPxListBox.CallbackPageSize properties is not in effect.

    If you need to implement the selection feature and your data source is large, use ASPxGridView in server mode rather than ASPxListBox. Review the Binding to Large Data (Database Server Mode) topic for more details.

See Also