We were trying to ugrade the existing dll to 6.1.2 version. But we are getting a exception like "Microsoft JScript runtime error: 'command' is undefined" when we click on any of the context menu items. It was working fine in the version 5.4.
This is because the command object does not have value at client side, when menu click action occurs on context menu
We are using the following code to get call the command events in 5.4.
<DayPilot:DayPilotMenu ID="dpmAfter" runat="server" ClientObjectName="dpmAfter" MenuTitle="test" MenuTitleBackColor="#AAD2EC">
<DayPilot:MenuItem Action="JavaScript" JavaScript="if(confirm('testtest?')){dpcAppointment.eventMenuClickPostBack(e, command);}" Command="remove" Text="remove" />
</DayPilot:DayPilotMenu>
Could please help us to solve this issue.
Thanks,
Nihas