Assigning images to specific columns

2 posts, 0 answers
  1. kogite
    kogite avatar
    1 posts
    Member since:
    Nov 2014

    Posted 13 Nov 2014 Link to this post


    I am at a loss of how to add images to specific columns in listview from an imagelist. 

    For  example in the following column structure  :    Column A, Column B, Column C
    I would like to populate "Column A" with a string, "Column B" with an image from my imagelist, "Column C" with a string.

    I am not sure if this is possible, could anyone provide me with an example of how to achieve this ?

    Many thanks in advance !

  2. Dess
    Dess avatar
    1561 posts

    Posted 17 Nov 2014 Link to this post


    Thank you for writing.

    Please refer to the attached sample project demonstrating how to display images in the first RadListView's column using a ImageList. Note that this approach is applicable for displaying images only for the first column in the RadListView. If your requirement is to display images in other columns, it is suitable to use the CellFormatting event and set CellElement.Image property for the cells. Our ListView >> Formatting Items help article is quite useful on this topic.

    I hope this information helps. If you have any additional questions, please let me know.

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
Back to Top