I'm using the scheduler with webservice databinding.
Is it possible to enable the context menu for some appointments, but not for all? If so, how could that be accomplished?
1 Answer, 1 is accepted
0
Plamen
Telerik team
answered on 07 Sep 2015, 07:21 AM
Hello,
You can handle the OnClientAppointmentContextMenu event and cancel the Contextmenu showing for some of them as in the code below:
function OnClientAppointmentContextMenu(sender, args) {
var cm = args.get_appointment().get_contextMenu();
if (args.get_appointment().get_subject()=="aaa") {
cm.add_showing(cancelMenuShowing);
}
}
function cancelMenuShowing(sender, args) {
args.set_cancel(true);
sender.remove_showing(cancelMenuShowing);
}
Hope this will help you solve the issue.
Regards,
Plamen
Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items