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

GridViewImageColumn

2 Answers 56 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Scott Michetti
Top achievements
Rank 1
Iron
Scott Michetti asked on 03 Aug 2010, 02:32 PM
Hello, I have a GridViewImageColumn and it's working fine. Is it possible to trap a click event on the image? I would like the image to have a hand cursor, and then when the user clicks on the image, I would pop up a window.
Thanks.

Scott

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 03 Aug 2010, 04:17 PM
Hello Scott Michetti,

The better approach in this case is to create your own  user control with the image and its corresponding logic . Then you just need to place that control in the cell, using the CellTemplate property of GridVIewColumn.

Please let me know if you  need any other information.

Best wishes,
Vanya Pavlova
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
0
Scott Michetti
Top achievements
Rank 1
Iron
answered on 03 Aug 2010, 09:55 PM
Thanks. That was the solution I needed.

Scott
Tags
GridView
Asked by
Scott Michetti
Top achievements
Rank 1
Iron
Answers by
Vanya Pavlova
Telerik team
Scott Michetti
Top achievements
Rank 1
Iron
Share this question
or