Last Updated: 08 Oct 2014 14:30 by ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 08 Aug 2014 07:51
Category: ListView, CardView and CheckedListBox
Type: Bug Report
FIX. RadListView - Images are not displayed in DetailsView using the VisualItemFormatting and the CellFormatting events
To reproduce: follow the approach demonstrated in ListView >> Getting started help article . When you change to DetailsView no image is displayed in the first column next to the cell's text. All previous versions (previous than 2014.2 715) shows an image in the first cell.

Workaround: use the RadListView.CellFormatting event and set CellElement.Image property for the cells in the first column.

private void radListView1_CellFormatting(object sender, ListViewCellFormattingEventArgs e)
    DetailListViewDataCellElement cell = e.CellElement as DetailListViewDataCellElement;
    if (cell != null)
        e.CellElement.Image = cell.Row.Image;