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

LeftMouseButtonDown event for context menu not work for me

2 Answers 47 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Zhiyong
Top achievements
Rank 1
Zhiyong asked on 05 Aug 2010, 05:18 PM

 

MouseRightButtonDown or Mouse enter works fine. I'm working with silverlight4 under win 7, and test with IE 8.0.

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 09 Aug 2010, 08:20 AM
Hi Zhiyong,

There are controls that handle MouseLeftButtonDown (like Button control). That is why it is not working by default. For this case we have added AttachOnHandledEvents property. Just set it to True and you will be
able to open the context menu on MouseLeftButtonDown event.

Let us know if you need more information.

Kind regards,
Hristo
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
Zhiyong
Top achievements
Rank 1
answered on 10 Aug 2010, 04:39 AM
thanks! it works now
Joe
Tags
Menu
Asked by
Zhiyong
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Zhiyong
Top achievements
Rank 1
Share this question
or