The Multi-Text List Controls extend both the Drop Down List and List Box Web
Controls to allow a developer to bind the text of a list item to two data
columns. This feature has long been a desire of mine (as well as my development
team at work) when we would come across items that need to display two columns
in the text portion.
The best example to give, would be a Staff List of
First and Last Names. Prior to this control, you would have to join the two
columns in a SQL Query, or do some heavy manipulation of the List Item
collection while the control is being rendered. With these new controls, you
easily specify the DataTextField and DataTextFieldAdditional to the appropriate
columns, and SHAZZAM! ... you have a nicely formatted Drop Down List or List Box
with Multiple Column data.
I have also added some new methods that allow you to easily select list items in
the DropDownList or ListBox. The ListBox version contains overloaded methods
that allow you to select multiple items. These new features are really worth
looking at, as they take 4 or more lines of code down to 1.
This control has no limitations on the browser, as there is no varying difference on how the
control is rendered. With that in mind, its a great new control that will
benefit your code tremendously.
Demos for these controls are located here: View Demo