Glossary Item Box
SelectBox list control may contain text with images in a single item. It is possible to filter elements using filter text field. It is also possible to display tip with additional information for each item.
Control supports AJAX behavior: partially items loading and fast items uploading for large items collections.
Features:
Default SelectBox view sample:

After setting appearance properties and defining ItemTemplate property control looks:

ItemTemplate property allows user to define any appearance for the items in the list.
ItemTemplate sample code:
<al:SelectBox ID="listCountries" runat="server" Height="250px" ForeColor="Gray" MultiSelect="true" SelectedBackColor="LightSteelBlue" SelectedBorderColor="Navy" SelectedForeColor="Black" SelectedStyleFont-Bold="True" BorderColor="Gray">
<Items>.....</Items>
<ItemTemplate>
<table style="height:100; width;" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="20" align="center"><img src="images/arrow.gif" border="0" /></td>
<td title="<%# Container.Value %>"><%# Container.Text %></td>
</tr>
</table>
</ItemTemplate>
</al:SelectBox>
ItemTemplate object properties description:
| Property | Description |
| Text | Represents the item's text |
| Value | Represents the item's value |
| ToolTip | Represents the item's tooltip |
| Description | Represents the item's description |
| Image | Represents the item's image |
| Selected | Represents the item's selected state |
You can use declarative DataSource to populate your instance of SelectBox.
Select needed DataSource in the DataSourceID property.

Also set next properties:
DataTextField - for Text property of the item.
DataValueField - for Value property of the item.
DataSelectedField - for Selected property of the item.
DataDescriptionField - for Description property of the item.
DataToolTipField - for Tooltip property of the item.
| See Also |
Client-side API: Client API
Overview: Overview