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

[Solved] GridViewImage column

1 Answer 129 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.
ron klod
Top achievements
Rank 1
ron klod asked on 04 Mar 2010, 08:48 AM
Hi,

1. I am trying to use this column to display an image, the problem is that I have seen that there is no image source, and according to your examples\documentation we have to bind that  column to something, I would like to know what is that something:
should this column be bound to a property that describe a image url? if so then I tried doing so and didnot work for me.

2. why can't I use an image object inside a tremplate column?

3. If I want to have an event handler on that image how do I do that?

Thanks

Ron

1 Answer, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 05 Mar 2010, 06:50 AM
Hi ron klod,

We have a built-in column called GridViewImageColumn which allows you to show images in RadGridView. You could take a look at our ColumnTypes example to see this column and some other special column in action. For custom scenarios you can always use your own templated column - there should be no problem to display images using a custom template. I have attached a sample project that demonstrates this approach.


Regards,
Milan
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
ron klod
Top achievements
Rank 1
Answers by
Milan
Telerik team
Share this question
or