Image and text simultaneously on a cell

2 posts, 1 answers
  1. Liordino
    Liordino avatar
    9 posts
    Member since:
    Aug 2012

    Posted 05 Sep 2012 Link to this post

    Hi,

    In the way that the application that I'm working on is build I'll get the data from a webservice and fill the gridview with it. On this data I have one column wich guides me to an image location on the disk and another column with a text. I need to show both of them simultaneously on a single cell. Is it possible with radgridview? I thought of using a event like CellFormating to do that, but couldn't find something like this on the events list, and couldn't think of a way to do this either anyway.

    Thanks in advance!
  2. Answer
    Yoan
    Admin
    Yoan avatar
    1182 posts

    Posted 06 Sep 2012 Link to this post

    Hi Liordino,

     In order to add an image adjacent to text within a particular cell to RadGridView cells you can use the CellTemplateSelector property. For more information please check this help article. For your convenience I have attach a sample project that shows you how to achieve your goal.

    Regards,
    Yoan
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top