When using the Service for an MVC project, we are trying to override/disable the built in editors for create and edit appointment. We have be able to override the edit dialog by setting OnClientAppointmentEditing="OnEdit" and implementing the following javascript:
function OnEdit(sender, eventArgs) {
OpenEditor();
eventArgs.set_cancel(true);
}
But, we have not been able to do the same for the new appointment. It seems that all the current events (OnClientFormCreated, OnAppointmentInsert, OnClientAppointmentInserting, OnFormCreating) are called after the fact instead of before the built in editors are created and displayed. Are we missing something? Can this be done with the service or is there a better way to accomplish what we are looking for?