Hi Kevin,
1.
The Delete icon can be hidden by overwriting the CSS properties like the below
code snippet.
|
<style>
.e-quick-popup-wrapper .e-event-popup .e-popup-header .e-header-icon-wrapper .e-delete {
display: none;
}
</style>
|
2. We
have prepared a sample to prevent the deletion of specific appointments by
using OnActionBegin method like the below code snippet.
|
public void OnActionBegin(ActionEventArgs<AppointmentData> args)
{
if
(args.ActionType == ActionType.EventRemove)
{
if
(args.DeletedRecords[0].Location == "Paris")
{
args.Cancel = true;
}
}
}
|
Kindly
try the attached sample and let us know if this meets your requirement.
Regards,
Ruksar Moosa Sait
Attachment:
Prevent_deletion_of_events_9e7491ee.zip