This question is locked. New answers and comments are not allowed.
Hello,
I've been trying to get the CreatingAppointment Event to work for a while now without any luck.
Here is my code
<Common:MainPageBase
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:schedule="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
xmlns:scheduleView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView">
<telerik:RadScheduleView x:Name="scheduler" Grid.Row="3"
AppointmentCreating="scheduler_AppointmentCreating"
AppointmentEditing="scheduler_AppointmentEditing"
AppointmentEdited="scheduler_AppointmentEdited" AppointmentDeleting="scheduler_AppointmentDeleting"
AppointmentsSource="{Binding EventList}">
<scheduleView:RadScheduleView.ViewDefinitions>
<scheduleView:WeekViewDefinition />
<scheduleView:MonthViewDefinition />
<scheduleView:TimelineViewDefinition DayStartTime="00:00" />
</scheduleView:RadScheduleView.ViewDefinitions>
<telerik:RadContextMenu.ContextMenu >
<telerik:RadContextMenu>
<telerik:RadMenuItem Header="New Appointment..." Command="schedule:RadScheduleViewCommands.CreateAppointment" />
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
</telerik:RadScheduleView>
</telerik:RadScheduleView>
</Common:MainPageBase>
I've tried removing the events to see if the default commands would take effect, but no luck. The context menu appears, by clicking on the item never triggers the events. I've been thinking that it may be related to the control templates, but the examples I've been seeing don't include any templates.
I must say at am at a loss.
Thanks in advance for any help.
I've been trying to get the CreatingAppointment Event to work for a while now without any luck.
Here is my code
<Common:MainPageBase
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:schedule="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView"
xmlns:scheduleView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.ScheduleView">
<telerik:RadScheduleView x:Name="scheduler" Grid.Row="3"
AppointmentCreating="scheduler_AppointmentCreating"
AppointmentEditing="scheduler_AppointmentEditing"
AppointmentEdited="scheduler_AppointmentEdited" AppointmentDeleting="scheduler_AppointmentDeleting"
AppointmentsSource="{Binding EventList}">
<scheduleView:RadScheduleView.ViewDefinitions>
<scheduleView:WeekViewDefinition />
<scheduleView:MonthViewDefinition />
<scheduleView:TimelineViewDefinition DayStartTime="00:00" />
</scheduleView:RadScheduleView.ViewDefinitions>
<telerik:RadContextMenu.ContextMenu >
<telerik:RadContextMenu>
<telerik:RadMenuItem Header="New Appointment..." Command="schedule:RadScheduleViewCommands.CreateAppointment" />
</telerik:RadContextMenu>
</telerik:RadContextMenu.ContextMenu>
</telerik:RadScheduleView>
</telerik:RadScheduleView>
</Common:MainPageBase>
I've tried removing the events to see if the default commands would take effect, but no luck. The context menu appears, by clicking on the item never triggers the events. I've been thinking that it may be related to the control templates, but the examples I've been seeing don't include any templates.
I must say at am at a loss.
Thanks in advance for any help.