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.
Local Copy of this Demo To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer. |
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDataEditorsDemos |