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

RadScheduleView - Edit Recurrence Appointment

4 Answers 157 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Javor
Top achievements
Rank 1
Javor asked on 29 Aug 2016, 01:39 PM

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

Sort by
0
Javor
Top achievements
Rank 1
answered on 30 Aug 2016, 07:11 AM
I found why because Recurrence Appointment are from another type Appointment not from MyAppointment .
If i bind Selected Appointment then i can't edit because can't cast Appointment  MyAppointment.
0
Yana
Telerik team
answered on 30 Aug 2016, 07:14 AM
Hello Javor,

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
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Javor
Top achievements
Rank 1
answered on 30 Aug 2016, 08:24 AM

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 

0
Yana
Telerik team
answered on 31 Aug 2016, 06:43 AM
Hi Javor,

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
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ScheduleView
Asked by
Javor
Top achievements
Rank 1
Answers by
Javor
Top achievements
Rank 1
Yana
Telerik team
Share this question
or