ASP.NET ListBox - Grid-Like Multi-Columns with Icons

 
PRODUCT NAME
PRICE
  • Chai
    Chai
    $18.00
    1
  • Chang
    Chang
    $19.00
    2
  • Aniseed Syrup
    Aniseed Syrup
    $10.00
    3
  • Chef Anton's Cajun Seasoning
    Chef Anton's Cajun Seasoning
    $22.00
    4
  • Chef Anton's Gumbo Mix
    Chef Anton's Gumbo Mix
    $21.35
    5
  • Grandma's Boysenberry Spread
    Grandma's Boysenberry Spread
    $25.00
    6
  • Uncle Bob's Organic Dried Pears
    Uncle Bob's Organic Dried Pears
    $30.00
    7
  • Northwoods Cranberry Sauce
    Northwoods Cranberry Sauce
    $40.00
    8
  • Mishi Kobe Niku
    Mishi Kobe Niku
    $97.00
    9
  • Ikura
    Ikura
    $31.00
    10
  • Queso Cabrales
    Queso Cabrales
    $21.00
    11
  • Queso Manchego La Pastora
    Queso Manchego La Pastora
    $38.00
    12
  • Konbu
    Konbu
    $6.00
    13
  • Tofu
    Tofu
    $23.25
    14
  • Genen Shouyu
    Genen Shouyu
    $15.50
    15
Displaying 15 products.


The items of the ListBox can be displayed in a grid-like structure. By using item templates, you can display as many columns of data as you wish. A header and a footer can also be displayed, to make the list with items look even more like a grid view.

You can display any data field in the item template, by using the Eval method.

When using this approach to display items, your end users will still benefit from the other features of the ListBox: load on demand, virtual scrolling, etc.

This sample shows how easy it is to add images for items in the grid-like structure. Simply add an ASP.NET Image control in the ItemTemplate and set its ImageUrl property accordingly.
obout.com 
obout.com Home 
News 
ListBox Home   
ListBox Home 
Examples - 56
Appearance - 2 
Live Styles 
Different Styles New 
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 New 
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 New 
Templates - 4 
Item Templates  
Header Templates  
Dynamic Header Templates New 
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 New 
Set Selected Items New 
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 New 
Select All Obout CheckBoxes New 
CheckBoxes on Multiple Columns New 
RadioButtons inside ListBox  
ListBox inside Grid  
Validate with ASP.NET Validators New 
Settings - 3 
AutoPostback  
Height  
Width  
Server-Side API - 4 
Server-Side Events  
Enable / Disable  
Get Values from Multiple Columns New 
Tooltips New 
Client-Side API - 8 
Client-Side Events  
Add / Remove Items  
Add Multi-Column Items New 
Enable / Disable  
Get Selected Item  
Reset Selection New 
Select / Deselect All Items New 
Move Items New 
Appearance Customization - 1 
Aligning Items New 
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