ASPxClientListEditItem.imageUrl Property

Gets the item's associated image.


imageUrl: string

Property Value

Type Description

A string value that represents the path to the image displayed by the item.


This example demonstrates how to show the current item image within the ASPxComboBox text. To accomplish this task, handle the client-side ASPxClientComboBox.SelectedIndexChanged event, and change the background image of the control's main HTML element. Also, you should set the ASPxComboBox.BackgroundImage.ImageUrl on the server side to synchronize the selected image. It is necessary to manually adjust the paddings and control height.

The complete sample project is available in the DevExpress Code Central database at E1317.

function SetComboBoxImage(s){
    var cbstyle =;
    cbstyle.backgroundImage = 'url('+(s.GetSelectedItem().imageUrl)+')';
    cbstyle.backgroundRepeat = "no-repeat";    
    cbstyle.backgroundPosition = "2px";
See Also