search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

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

Asked by Nihas
9 years ago.

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

Comment posted by Dan Letecky
9 years ago.

This bug was fixed in 6.2 SP4.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.