This is a migrated thread and some comments may be shown as answers.

When i open Appointment context menu using Left Click then OnClientAppointmentContextMenu event not fireing.

0 Answers 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Chandan Kumar
Top achievements
Rank 1
Chandan Kumar asked on 17 Nov 2010, 01:58 PM
Dear Sir,
when i open appointment context menu using left menu then OnClientAppointmentContextMenu this event is not firing why?
Please help me.

Following Code responsible for Open Appointment Context Menu through Left Click.

function OnClientAppointmentClick(sender, args) {
            sender.get_appointmentContextMenus()[0].show(args.get_domEvent());
         
        }

But following client event is not firing

function OnClientAppointmentContextMenu(sender, args) {

          
        var app = args.get_appointment();
            var attValue = app.get_attributes().getAttribute('StatusId');
            //alert(attValue);
                if (attValue == "0") {
                    sender.get_appointmentContextMenus()[0].set_enabled(false);
                }
                else {
                    sender.get_appointmentContextMenus()[0].set_enabled(true);
                }

        }

So please Help Me.
Thanks
Chandan Kumar

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
Chandan Kumar
Top achievements
Rank 1
Share this question
or