Quick Links
ASP.NET ListBox - Multiple Rows and Columns
Two columns:
Afghanistan
1
Albania
2
Algeria
3
American Samoa
4
Andorra
5
Angola
6
Anguilla
7
Antigua and Barbuda
8
Argentina
9
Armenia
10
Aruba
11
Australia
12
Austria
13
Azerbaijan
14
Bahamas
15
Bahrain
16
Bangladesh
17
Barbados
18
Belarus
19
Belgium
20
Belize
21
Benin
22
Bermuda
23
Bhutan
24
Bolivia
25
Bosnia and Herzegovina
26
Botswana
27
Brazil
28
British Indian Ocean Territory
29
British Virgin Islands
30
Brunei
31
Bulgaria
32
Burkina Faso
33
Burma
34
Burundi
35
Cambodia
36
Cameroon
37
Canada
38
Cape Verde
39
Cayman Islands
40
Three columns:
Afghanistan
1
Albania
2
Algeria
3
American Samoa
4
Andorra
5
Angola
6
Anguilla
7
Antigua and Barbuda
8
Argentina
9
Armenia
10
Aruba
11
Australia
12
Austria
13
Azerbaijan
14
Bahamas
15
Bahrain
16
Bangladesh
17
Barbados
18
Belarus
19
Belgium
20
Belize
21
Benin
22
Bermuda
23
Bhutan
24
Bolivia
25
Bosnia and Herzegovina
26
Botswana
27
Brazil
28
British Indian Ocean Territory
29
British Virgin Islands
30
Brunei
31
Bulgaria
32
Burkina Faso
33
Burma
34
Burundi
35
Cambodia
36
Cameroon
37
Canada
38
Cape Verde
39
Cayman Islands
40
Four columns:
Afghanistan
1
Albania
2
Algeria
3
American Samoa
4
Andorra
5
Angola
6
Anguilla
7
Antigua and Barbuda
8
Argentina
9
Armenia
10
Aruba
11
Australia
12
Austria
13
Azerbaijan
14
Bahamas
15
Bahrain
16
Bangladesh
17
Barbados
18
Belarus
19
Belgium
20
Belize
21
Benin
22
Bermuda
23
Bhutan
24
Bolivia
25
Bosnia and Herzegovina
26
Botswana
27
Brazil
28
British Indian Ocean Territory
29
British Virgin Islands
30
Brunei
31
Bulgaria
32
Burkina Faso
33
Burma
34
Burundi
35
Cambodia
36
Cameroon
37
Canada
38
Cape Verde
39
Cayman Islands
40
The items of the ListBox can be arranged on multiple columns. This can easily be achieved using a small CSS trick:
.ob_iLboICBC li { float: left; width: 125px; }
The ListBox will arrange its items on as many columns as possible, taking the width of the control and the width of the individual items into account.
When arranging the items in multiple columns, your end users will still benefit from the other features of the ListBox: load on demand, virtual scrolling, etc.
"
Keep up the great development; you guys are true heroes in the world wild web of .NET programming!
"
Maurice Battle
Random testimonial
All testimonials
obout.com
obout.com Home
News
ListBox Home
ListBox Home
Examples
- 56
Appearance
- 2
Live Styles
Different Styles
Load on Demand
- 3
Load Items on Demand
Load Items on Demand with Paging
Virtual Scrolling
Multi-Columns
- 5
Grid-like Multi-Columns
Grid-like Multi-Columns & Tooltips
Multiple Rows and Columns
Load multi Columns on Demand
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
Master/Detail
- 3
Master/Detail
Unlimited Detail Levels
Cascading ListBoxes
Integration
- 8
Items with ASP.NET CheckBoxes
Items with Obout CheckBoxes
Select All ASP.NET CheckBoxes
Select All Obout CheckBoxes
CheckBoxes on Multiple Columns
RadioButtons inside ListBox
ListBox inside Grid
Validate with ASP.NET Validators
Settings
- 3
AutoPostback
Height
Width
Server-Side API
- 4
Server-Side Events
Enable / Disable
Get Values from Multiple Columns
Tooltips
Client-Side API
- 8
Client-Side Events
Add / Remove Items
Add Multi-Column Items
Enable / Disable
Get Selected Item
Reset Selection
Select / Deselect All Items
Move Items
Appearance Customization
- 1
Aligning Items
Knowledge Base
- 1
Knowledge Base
Documentation
- 11
Server-Side
ListBox
ListBoxClientSideEvents
ComboBoxCssSettings
ListBoxFooterTemlateContainer
ListBoxHeaderTemlateContainer
ListBoxItem
ListBoxItemEventArgs
ListBoxItemTemlateContainer
ListBoxLoadingItemsEventArgs
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
Purchase
Purchase page
Contact Sales
License info
Terms of use
Company
Testimonials
Clients
Contact us