I created this but it is not working:
DayPilotMenu menu = new DayPilotMenu();
menu.ID = "CustomMenu1";
MenuItem item = new MenuItem();
item.Text = "Edit...";
item.Action = MenuItemAction.NavigateUrl;
item.NavigateUrl = "test.aspx?id={{0}}";
item.NavigateUrlTarget = "_blank";
menu.MenuItems.Add(item);
DayPilotCalendar1.Controls.Add(menu);