ASP.NET ComboBox - Grid-Like Multi-Columns with Tooltips



The items of the ComboBox 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 ComboBox:
autocomplete, load on demand, virtual scrolling, filtering, etc.

To make the control even more user friendly you can add tooltips to the items, which may contain any text.
In this sample we created the tooltips by combining data from the "CompanyName" and "City" columns.



« Back to examples