Change Theme Settings
Change Theme Settings
Show All Themes

Image in Edit Box


By default, images associated with list items are displayed within the editor's dropdown list. This demo illustrates how the ShowImageInEditBox property can be used to display an image of the selected item within the editor's edit box in addition to the text.

Note that the DevExpress ASP.NET Autocomplete Combo Box (ASPxComboBox) provides the following ways to define item images:

  • The ImageUrl property of an item can be used to define images for individual items.
  • The ItemImage property of the editor can be used to set a uniform image for all items.
  • If the editor is bound to data, the editor's ImageUrlField property can be used to specify a data field containing item image URLs.
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
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos