Hi Anton,
The latest version (7.8.3212) now passes custom data from Update() call to the Scheduler during the initial page load as well.
You can download it in the sandbox:
http://www.daypilot.org/sandbox/
Usage:
1. You need to call DayPilotScheduler.Update() in Page_Load to pass the data to the client side:
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// ...
DayPilotScheduler1.Update("server data");
}
}
Client side:
<DayPilot:DayPilotScheduler
AfterRenderJavaScript="if (data) console.log(data);"
...