DayPilot.Calendar.commandCallBack

The commandCallBack() method invokes the server-side Command event using AJAX CallBack.

It is useful for sending navigation commands such as next, previous, or jump-to-date requests.

Declaration

DayPilot.Calendar.commandCallBack(command, data)

Parameters

  • command (string) - command name (custom)

  • data (object) - additional custom data

Notes

This legacy helper is applicable to the ASP.NET WebForms, ASP.NET MVC, and Java editions.

Example

dp.commandCallBack("next", data);

See Also

DayPilot.Calendar.autoRefreshCommand

DayPilot.Calendar Class