You need to customize the EventRightClickJavaScript code to do both actions:
EventRightClickJavaScript="select(e)"
function select(e) {
e.eventSelect(e);
menu.show(e);
}
Where menu is the ClientObjectName of the DayPilotMenu control.
You should also set EventSelectHandling to JavaScript to prevent invoking the EventSelect event on the server side.