This is a migrated thread and some comments may be shown as answers.

[Solved] Image & Text in a column

1 Answer 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matt
Top achievements
Rank 1
Matt asked on 15 Sep 2010, 08:19 PM
Hi all,

I am trying to create a chart with a column which allows either a picture (from a url) or text (as a string) to be displayed.  It seems that an ImageColumn doesn't allow for text and a DataColumn doesn't take image urls.  Is there a way to do this or if not, how would I display text when I hover over an image.

Thanks,
Matt

1 Answer, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 16 Sep 2010, 07:03 AM
Hello Matt,

 You can use plain GridViewDataColumn with CellTemplate where you can define your own template. You can check this demo for more info how to define CellTemplate. 

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Matt
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or