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

SelectedAppointment Binding Mode Bug?

3 Answers 79 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Veteran
Brian asked on 01 May 2020, 02:53 PM

When the binding mode is set to TwoWay on SelectedAppointment, you cannot edit an appointment with a Recurrence pattern after is has been created.

The ShowDialog event will not even fire. Is this intended behavior?

Regards,

2020.1.218.45

 

SelectedAppointment="{Binding Selected, Mode=TwoWay}"

3 Answers, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 06 May 2020, 08:51 AM

Hello Brian,

In order to work correctly the property in the ViewModel should be of type IOccurrence ( the Selected property from the snippet).

Please confirm if the property type is correct and if you still experience issues I would like to ask you to share sample project that demonstrates the scenario.

Hope this helps.

Regards,
Kalin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Brian
Top achievements
Rank 1
Veteran
answered on 06 May 2020, 12:35 PM

Okay. I see, the property type I had was Appointment, not IOccurrence. Din't realize that the argument type would change to IOccurence if the item had a recurrence pattern.

 

Thanks

0
Kalin
Telerik team
answered on 07 May 2020, 06:29 AM

Hello Brian,

I'm glad it works as expected. 

Let us know if you have any other questions or concerns.

Regards,
Kalin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
ScheduleView
Asked by
Brian
Top achievements
Rank 1
Veteran
Answers by
Kalin
Telerik team
Brian
Top achievements
Rank 1
Veteran
Share this question
or