Fired when the user right-clicks a task box, before the default TaskRightClick action (specified by taskRightClickHandling property).
The default action can be canceled by calling args.preventDefault().
dp.onTaskRightClick = function(args) { alert("Clicked: " + args.task.id()); };