DayPilot.Month.commandCallBack

The commandCallBack() method executes the server-side Command event using an AJAX CallBack (ASP.NET WebForms, ASP.NET MVC, Java).

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

Declaration

DayPilot.Month.commandCallBack(command[, data])

Parameters

  • command (string) - command name (custom)

  • data (object) - additional custom data

Notes

This legacy helper is available in the ASP.NET WebForms, ASP.NET MVC, and Java editions.

Example

dp.commandCallBack("next");