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

[Solved] ImageColumn not working with OnRowDrop client event

2 Answers 113 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ramya
Top achievements
Rank 1
Ramya asked on 24 Nov 2009, 08:37 PM
I have a RadGrid that is enabled for client events like RowClick, RowDblClick and RowDrop. None of these events work when the user clicks on a column that has an image in it. I was able to get rowclick and rowdblclick events work by wiring up oncolumnclick and oncloumndblclick events for the image column. However I was not able to achieve OnRowDrop functionality for image column. Is there any work around for this issue?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 27 Nov 2009, 12:33 PM
Hi Ramya,

Indeed this behavior is by design as click, mousedown etc. events over img elements are escape on purpose. However usually you can workaround this behavior by using for example a div element and setting the image as its background image.

Kind regards,
Rosen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Ramya
Top achievements
Rank 1
answered on 03 Dec 2009, 08:11 PM
Thank you!! Rosen. That did the job.
Tags
Grid
Asked by
Ramya
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Ramya
Top achievements
Rank 1
Share this question
or