Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Combo Box Item Template

Open the combo box's dropdown window to see how the layout and appearance of items are customized.
v


The DevExpress ASP.Net MVC ComboBox extension supports customizing the layout of combo box items using item templates. In this demo, an item template is used to display a combo box item in a card-like view. Each item shows a contact's name, address, phone number and email address whose values are taken from corresponding data fields of the bound data source using the DataBinder.Eval method. The template code is embedded into the view using the ViewContext.Writer.Write method.