I use RadScheduleView with EditAppointmentTemplate and Style. I add new Custom appointment and I made him Recurrence after this change a can't edit again parent. Only one time I saw edit appointment window with edit parent button and after that when i click double time nothing happens.
4 Answers, 1 is accepted
If i bind Selected Appointment then i can't edit because can't cast Appointment MyAppointment.
I guess that the EditAppointmentDialog template is not completely, could you please take a look at the template you're using and check whether the following button is present:
<
telerik:RadButton
x:Name
=
"EditParentAppointmentButton"
AutomationProperties.AutomationId
=
"EditParentAppointmentButton"
IsEnabled
=
"{Binding IsReadOnly, Converter={StaticResource InvertedBooleanConverter}}"
Command
=
"{x:Static telerikScheduleView:RadScheduleViewCommands.EditParentAppointment}"
Visibility
=
"{Binding CanEditParentAppointment, Converter={StaticResource BooleanToVisibilityConverter}}"
>
<
ToolTipService.ToolTip
>
<
TextBlock
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
/>
</
ToolTipService.ToolTip
>
<
TextBlock
Margin
=
"4 0"
telerik:LocalizationManager.ResourceKey
=
"EditParentAppointment"
Foreground
=
"{StaticResource RadScheduleForeground}"
/>
</
telerik:RadButton
>
Additionally, I'd like to ask you how you've implemented the custom Appointment class - does it inherit from AppointmentBase class or implement IAppointment interface?
Regards,
Yana
Telerik by Progress
It is implement like that class MyAppointment : Appointment
But i have another problem i need to merge dictionary like that
Application.Current.Resources.MergedDictionaries.Add(new ResourceDictionary()
{
Source = new Uri("/Telerik.Windows.Themes.Office_Black;component/Themes/Telerik.Windows.Controls.ScheduleView.xaml", UriKind.RelativeOrAbsolute)
});
from Telerik.Windows.Controls.ScheduleView.dll whit included xaml (baml). What is path for these baml resources.
I want to include included xaml form this dll by current theme and merge with application Resources
I'd suggest you take a look at the following topic in our documentation:
Setting a Theme (Using Implicit Styles)
which described in the details how to merge the needed resource dictionaries for styling RadScheduleView.
Regards,
Yana
Telerik by Progress