Hi,
could it be, that there are some "bugs" in Schedule View?
First i tried following:
Every time I double click an Appoinment in Schedule View, the Edit Dialog appears although I have set e.Cancel=true. The same thing happens, if I double click a Time Slot. I think e.Cancel=true should prevent showing the edit dialog?
Second thing is also not working: In the Control RadScheduler following worked:
But in Schedule View, the event Mouse Left Button Up does not fire, I i click on an Appointment. But it fires, if I click on any other UIElement. I can't figure out why?
Please help me asap!
Thanks,
Ronald
could it be, that there are some "bugs" in Schedule View?
First i tried following:
<
radSchedulerView:RadScheduleView
FontSize
=
"18"
x:Name
=
"_sView"
Grid.Column
=
"0"
Grid.RowSpan
=
"2"
>
<
radSchedulerView:RadScheduleView.ViewDefinitions
>
<
radSchedulerView:DayViewDefinition
DayStartTime
=
"00:00:00"
DayEndTime
=
"23:59:59"
MinTimeRulerExtent
=
"1800"
/>
<
radSchedulerView:WeekViewDefinition
DayStartTime
=
"00:00:00"
DayEndTime
=
"23:59:59"
MinTimeRulerExtent
=
"1800"
/>
<!-- MonthView has fixed tick lengths and extents! -->
<
radSchedulerView:MonthViewDefinition
/>
<
radSchedulerView:TimelineViewDefinition
DayStartTime
=
"00:00:00"
DayEndTime
=
"23:59:59"
MinorTickLength
=
"1day"
/>
</
radSchedulerView:RadScheduleView.ViewDefinitions
>
</
radSchedulerView:RadScheduleView
>
_sView.AppointmentEditing +=
new EventHandler<AppointmentEditingEventArgs>(OnScheduler_AppointmentEditing);
_sView.AppointmentCreating +=
new EventHandler<AppointmentCreatingEventArgs>(OnScheduler_AppointmentCreating);
private void OnScheduler_AppointmentCreating(object sender, AppointmentCreatingEventArgs e)
{
e.Cancel = true;
}
private void OnScheduler_AppointmentDeleting(object sender, AppointmentDeletingEventArgs e)
{
e.Cancel = true;
}
Every time I double click an Appoinment in Schedule View, the Edit Dialog appears although I have set e.Cancel=true. The same thing happens, if I double click a Time Slot. I think e.Cancel=true should prevent showing the edit dialog?
Second thing is also not working: In the Control RadScheduler following worked:
_sView.MouseLeftButtonUp += new MouseButtonEventHandler(OnScheduler_MouseLeftButtonUp);
private void OnScheduler_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
{
MccmAppointment selectedAppointment = _sView.SelectedAppointment as MccmAppointment;
...
...
}
But in Schedule View, the event Mouse Left Button Up does not fire, I i click on an Appointment. But it fires, if I click on any other UIElement. I can't figure out why?
Please help me asap!
Thanks,
Ronald