In my scenario I have one ScheduleView which takes data from 2 places:
a) Google Calandar (iCal)
b) my own database.
I would like to disable delete option for appointments from Google, but allow to delete from my Database.
Is there any chance for me?
1 Answer, 1 is accepted
0
Vladimir Stoyanov
Telerik team
answered on 16 Sep 2019, 11:50 AM
Hello Grzesiek,
We have a feature request for the described behavior logged in our feedback portal: ScheduleView: Conditionally Hide Appointment Delete Button. You can check out the item for a possible way to implement this functionality and follow it to be notified for any developments.
For an alternative approach you can check out the Remove the Delete Button article in our documentation. It shows how you can remove the Delete button from the appointment by modifying the AppointmentItem ControlTemplate. You can conditionally return two different templates in the AppointmentStyleSelector depending on the appointment(one with the delete button and one without it).
I hope you find this helpful.
Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.