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

Remove MouseButtonEventHandler

3 Answers 18 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Avi Avni
Top achievements
Rank 1
Avi Avni asked on 14 Jun 2011, 09:42 AM

Hello

I add MouseButtonEventHandler to the grid

But in need to remove it from specific column

How can I do this?

Best regards

Ehud

3 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 16 Jun 2011, 01:01 PM
Hello Ehud Pinchas,

I presume that you are adding it on the RadGridView's cells, so the best solution that comes to my mind is to add it on RadGridView's CellLoaded event and check if the loaded cell is from this specific column.

Kind regards,
Ivan Ivanov
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
Avi Avni
Top achievements
Rank 1
answered on 16 Jun 2011, 01:18 PM

Hello Ivan

I add the

MouseDoubleClick += RadGridMouseDoubleClick;

To the grid and I need that specific column ignore this event and the grid

Don’t get to this method 

How can I do this?

Best regards

Ehud

0
Ivan Ivanov
Telerik team
answered on 22 Jun 2011, 08:04 AM
Hello Ehud Pinchas,

I have prepared an example project for you that utilizes GridViewCell's CellDoubleClick event. Please, refer to it and let me know whether this approach meet your requirements.

Best wishes,
Ivan Ivanov
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
Avi Avni
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Avi Avni
Top achievements
Rank 1
Share this question
or