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

Double click on appointment doesn work

2 Answers 61 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Lennart Bauer
Top achievements
Rank 1
Lennart Bauer asked on 12 Oct 2012, 01:00 PM
Hi!
I have made a customized appointment view selector by copying the template in Expression and specified the new to be used by the Control:

AppointmentStyleSelector="{DynamicResource ScheduleViewStyleSelector1}"

Everything works fine and all appointments are displayed using the new selector.
But now, double clicking an appointment doesn't work anymore. The Edit appointment dialog is not displayed.

Why does it behave like this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Kshamesh
Top achievements
Rank 1
answered on 12 Oct 2012, 01:25 PM
Your styles are stripping the InputBindings after you apply the styling, you need to explicitly define you MouseBindings again in your styles, check out this link - http://www.telerik.com/community/forums/wpf/scheduleview/appointment-editing-does-not-work-after-adding-style-selector.aspx

Hope it helps,
Kshamesh
0
Lennart Bauer
Top achievements
Rank 1
answered on 13 Oct 2012, 03:57 PM
Thanks!

That solved it.
Tags
ScheduleView
Asked by
Lennart Bauer
Top achievements
Rank 1
Answers by
Kshamesh
Top achievements
Rank 1
Lennart Bauer
Top achievements
Rank 1
Share this question
or