Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [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]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Collapse]Data Editors
   [Expand]Product Information
   [Expand]Common Concepts
   [Collapse]Editor Types
    [Expand]ASPxBinaryImage
    [Expand]ASPxButton
    [Expand]ASPxButtonEdit
    [Expand]ASPxCalendar
    [Expand]ASPxCheckBox
    [Expand]ASPxCheckBoxList
    [Expand]ASPxColorEdit
    [Collapse]ASPxComboBox
      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]Examples
    [Expand]ASPxDateEdit
    [Expand]ASPxDropDownEdit
    [Expand]ASPxFilterControl
    [Expand]ASPxHyperLink
    [Expand]ASPxImage
    [Expand]ASPxLabel
    [Expand]ASPxListBox
    [Expand]ASPxMemo
    [Expand]ASPxProgressBar
    [Expand]ASPxRadioButton
    [Expand]ASPxRadioButtonList
    [Expand]ASPxSpinEdit
    [Expand]ASPxTextBox
    [Expand]ASPxTimeEdit
    [Expand]ASPxTokenBox
    [Expand]ASPxTrackBar
    [Expand]ASPxValidationSummary
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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.

Note

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.

Note

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

Note

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

How would you rate this topic?​​​​​​​