DayPilot.Scheduler.commandPostBack

The commandPostBack() method invokes a Command event on the server side using a PostBack.

Only available in the ASP.NET WebForms version.

Declaration

DayPilot.Scheduler.commandPostBack(command, data)

Parameters

  • command (string) - custom command name

  • data (object) - additional custom data

Notes

It can be used to send navigation commands such as next, previous, or jumping to a specific date.

The event handler has full access to the Scheduler state, including selected events, selected rows, client state, and tree state.

Example

dp.commandPostBack("next", {});