Quick Links
ASP.NET ComboBox - Items with ASP.NET CheckBox Controls Loaded On-Demand
Displaying items 0-0 out of 0.
Loading ...
Order
The items of the ComboBox can be loaded on-demand (via AJAX requests). The advantage of using this approach
is that the items are loaded only when the end user types something into the input field or opens the drop down menu (by clicking on the arrow button). Thus, the page will load very fast because no item is loaded on page load.
In order to enable the on demand loading feature, set the
EnableLoadOnDemand
property to
true
.
You also need to handle the
LoadingItems
server-side event, which is executed each time the ComboBox
requests items from the server via AJAX. The server-side event handler will load all the items that match the text typed in the input field.
To improve the performance even further, you can use the "paging" approach for the load on demand feature.
Using this approach will force the ComboBox to load only a limited number at a time, instead of retrieving all the matches at once. So for example, if there are 10,000 items in the database, you can configure the ComboBox to load 100 items at a time, to make the on demand loading functionality run smoother.
To load the next set of items, the end user simply needs to click on the footer text from the bottom of the list with items.
The items of the ComboBox can be customized using templates. You can embed any content inside an item template, including HTML markup and ASP.NET server controls (any control from the Obout suite may be added to a template).
In order to set up an item template, use the
ItemTemplate
property of the ComboBox.
To extract data from the data item, use the
Eval
method which expects as a parameter the name of the data field from which to load the data.
This example showcases the use of
ASP.NET CheckBox
controls inside the items, which are loaded on demand.
The end user is able to select any number of items by clicking on them or by checking the checkboxes.
obout.com
obout.com Home
News
ComboBox Home
ComboBox Home
Examples
- 73
Appearance
- 2
Live Styles
Different Styles
Autocomplete & Filtering
- 2
Autocomplete
Filtering
Load on Demand
- 7
Load Items on Demand
Load Items on Demand with Paging
Virtual Scrolling
Initial Text
Initial Text on Client-Side
Load Items on Button Click
Load Items with MinChars
Multi-Columns
- 5
Grid-like Multi-Columns
Grid-like Multi-Columns on Demand
Grid-like Multi-Columns & Tooltips
Multiple Rows and Columns
State Selector
Items with Icons
- 4
Items with Icons
Grid-like Multi-Columns with Icons
Multiple Rows and Columns with Icons
Icons from Database
Templates
- 4
Item Templates
Header Templates
Dynamic Header Templates
Footer Templates
Populating with Data
- 5
Declarative
SqlDataSource
ObjectDataSource
Generic Collections
DataSet
Item Selection
- 6
Single Item Selection
Multi Item Selection
Get Selected Item
Get Selected Items
Set Selected Item
Set Selected Items
Mode
- 2
ComboBox
TextBox
Master/Detail
- 3
Master/Detail
Unlimited Detail Levels
Cascading ComboBoxes
Integration
- 13
Items with ASP.NET CheckBoxes
Items with Obout CheckBoxes
Select All ASP.NET CheckBoxes
Select All Obout CheckBoxes
CheckBoxes on Multiple Columns
RadioButtons inside ComboBox
TreeView inside ComboBox
TreeView with Full Path
ComboBox inside Grid
Grid inside ComboBox
Master/Detail ComboBox inside Grid
CheckBoxes Loaded On-Demand
Validate with ASP.NET Validators
Settings
- 8
AllowCustomText
AllowEdit
AutoPostback
AutoValidate
Height
MenuWidth
OpenOnFocus
Width
Server-Side API
- 4
Server-Side Events
Enable / Disable
Get Values from Multiple Columns
Tooltips
Client-Side API
- 7
Client-Side Events
Add / Remove Items
Add Multi-Column Items
Enable / Disable
Get Selected Item
Reset Selection
Select / Deselect All Items
Appearance Customization
- 1
Aligning Items
Knowledge Base
- 1
Knowledge Base
Documentation
- 13
Server-Side
ComboBox
ComboBoxClientSideEvents
ComboBoxCssSettings
ComboBoxFilterType
ComboBoxFooterTemlateContainer
ComboBoxHeaderTemlateContainer
ComboBoxItem
ComboBoxItemEventArgs
ComboBoxItemTemlateContainer
ComboBoxLoadingItemsEventArgs
ComboBoxMode
Client-Side
Client-Side API
ChangeLog
Tutorials
- 2
Appearance
- 1
CSS Tutorial
Configuration
- 1
Using the correct path
ASP.NET 2.0-4.0
AJAX Page
Calendar
Color Picker
Date Picker
File Upload Progress
Flyout
Grid
HTML Editor
Image Zoom
Listbox
Multilevel Listbox
Show
Spell Checker
Splitter
Super Form
Tab Strip
TreeView
Tree_DB
Window
Menu
Context Menu
Easy Menu
Slide Menu
Text Menu
Combobox
Combobox
AJAX Autosuggest
Multilevel Combobox
State Selector
Interface Controls
Button
Checkbox
Dropdown List
Multiline Textbox
Radio Button
Textbox
ASP.NET 3.5-4.0
Color Picker
File Upload
HTML Editor
Spell Checker
TreeView
ASP.NET MVC
Combobox
HTML Editor
Interface Controls
Listbox
Multilevel Combobox
Multilevel Listbox
State Selector
Download
Suite for ASP.NET
Customer log-in
Support
Knowledge base
Contact support
Install FAQ
Mailing list
Compare versions
Purchase
Purchase page
Contact Sales
License info
Terms of use
Company
Testimonials
Clients
About us
Contact us