Hello there
Is there anyway we can build teh menu item on serverside rather than client side?
Something like below
DayPilot.Web.Mvc.DayPilotMenuConfig c;
c = new DayPilotMenuConfig();
DayPilot.Web.Mvc.MenuItemCollection s = new DayPilot.Web.Mvc.MenuItemCollection();
DayPilot.Web.Mvc.MenuItem m = new DayPilot.Web.Mvc.MenuItem()
{
Text = "Undo",
Action = MenuItemAction.JavaScript,
JavaScript = "Undo(e);"
};
s.Add(m);
c.Items = s;
I know how to do with client side using e.ContextMenuClientName = "". As we are having a lot of different scenario it will be better if we could do that on server side.
Thanks
Binon