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

Button clicks not working on Telerik based usercontrols

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
James Ludlow
Top achievements
Rank 1
James Ludlow asked on 26 Jul 2010, 09:29 AM
We've got a WPF window based on the carousel control, but when we put buttons on this user control and assign a mouseleftbuttondown (or any mouse button) event to the button, it doesn't fire.

I have found out though that when we use PreviewMouseLeftButtonDown the event fires fine, which suggests there is a problem with the bubbling of events through Telerik controls.

Is this a bug?

1 Answer, 1 is accepted

Sort by
0
Miroslav
Telerik team
answered on 29 Jul 2010, 08:22 AM
Hi James,

Generally a lot of controls handle the mouse events if they perform an action as a result of these events.

In this particular case the button also handles the MouseLeftButtonDown event. I can suggest using the Click event of the button.

Best wishes,
Miroslav
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
General Discussions
Asked by
James Ludlow
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Share this question
or