Home Unanswered Active Tags New Question

DayPilot dll 6.1.2 - Issue with contextmenu command object - does not have value

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

Asked by Nihas 1 year ago.
Replies

This bug was fixed in 6.2 SP4.

Comment posted by Dan Letecky 1 year ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java