As I see it, you wish to make changes to the control template of an appointment item, and not the content template. So what you need is an AppointmentItemStyleSelector
, not an AppointmentItemContentTemplateSelector. Please, check this help article
on some more useful information on the AppointmentItemStyleSelector. Just wire up some logic in the code behind that will use an additional appointment item style, when you do not need the delete button. Also, here is a live demo
that demonstrates the usage of the selector.
The way to hide the delete button is the same as described in the earlier post.
By the way, if your goal is to prevent the user from deleting an appoitnment, you might just make it a read-only appointment. Please, check more details on read-only slots and appointments here
I hope this will be helpful.
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!