PRADO QuickStart Tutorial
Sample
Copyright © 2006-2024
The PRADO Group
TListBox Samples
List Boxes in Single Selection Mode
List box with default settings:
List box with initial items:
item 1
item 2
item 3
item 4
List box with customized row number, color and font:
item 1
item 2
item 3
item 4
Disabled list box:
item 1
item 2
item 3
item 4
Auto postback list box:
item 1
item 2
item 3
item 4
List box's behavior upon postback:
item 1
item 2
item 3
item 4
List Boxes in Multiple Selection Mode
Use Ctrl + Mouse Click to change selection
List box with default settings:
List box with initial items:
item 1
item 2
item 3
item 4
List box's behavior upon postback:
item 1
item 2
item 3
item 4
Auto postback list box:
item 1
item 2
item 3
item 4
List Boxes with DataBinding
Use Ctrl + Mouse Click to change selection
Databind to an integer-indexed array:
item 1
item 2
item 3
item 4
Databind to an associative array:
item 1
item 2
item 3
item 4
Databind with DataTextField and DataValueField specified:
John
Mary
Cary
List Boxes with Validation
List box is being validated:
item 1
item 2
item 3
item 4
You must make a selection
List box causing validation:
You must enter a value
Agree
Disagree
List box with option groups:
item 1
item 2
item 3
item 4