Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
      ASPxComboBox Overview
      Incremental Filtering of ASPxComboBox
     [Collapse]Item Loading Modes
       Default Item Loading Mode
       On-Demand Item Loading (Callback Mode)
       Dynamic List Population (Filtering Large Data Sources)
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

On-Demand Item Loading (Callback Mode)

In contrast to the default loading mode, the ASPxComboBox also allows its items to be loaded from the server on demand, via callbacks. For instance, list items that are not currently displayed within the editor's dropdown window can be dynamically loaded when an end-user scrolls the list. This item loading mode is available if the ASPxAutoCompleteBoxBase.EnableCallbackMode property is set to true. In this mode, the ASPxAutoCompleteBoxBase.CallbackPageSize property defines the number of items to be obtained from the server, each time it's required.

This callback mode makes the first page load much faster, since only a few items need to be loaded initially.


If the control ViewState is enabled, it gets all items on load, regardless of the EnableCallbackMode property value (exclude the multicolumn mode). Therefore, it is recommended that you disable the view state when you use callback mode.

Note however that in this mode, the ASPxComboBox editor still performs data processing operations (such as filtering) by itself, on the web application server level. For this purpose, the editor retrieves all data items of the bound data source from the database server to the web server, which increases the web server workload. This might result in a performance bottleneck when binding ASPxComboBox editors to large data sources (containing tens of thousands of records). To increase the ASPxComboBox's performance in this case, it's recommended to dynamically populate the editor's dropdown list by handling specific events.


Setting the ASPxAutoCompleteBoxBase.EnableCallbackMode property affects the ASPxAutoCompleteBoxBase.EnableSynchronization property's default value. See the ASPxAutoCompleteBoxBase.EnableSynchronization property's description for more details.


In the callback mode, the client-side combo box contains only items that are currently displayed within the editor's drop-down window, so it is impossible to select an invisible item via the ASPxClientComboBox.SetText or ASPxClientEditBase.SetValue client method.

Expanded Online Demo

Is this topic helpful?​​​​​​​