Is there a way to have 2 (or more) schedulers and when you scroll one, they all scroll together?
I have two schedulers on the same page, using the same date range but showing different data. One is showing read only data, the other is showing writable data. Each data set is from different sources.
Comment posted by Dan Letecky [DayPilot] 7 years ago.
In ASP.NET WebForms, the DayPilot.Scheduler instance is created automatically. The name of the object is specified using ClientObjectName property. If it's not specified, the ASP.NET client-side component name will be used (this name is derived from the control name and its location on page).
So the easiest way to get it working is to add ClientObjectName="dps1" to the first Scheduler control and ClientObjectName="dps2" to the second Scheduler control (on the server side). And remove the "var dps1 =" and "var dps2 =" lines.
Comment posted by Anonymous 7 years ago.
Mistake in there ... The vars should be
var dps1 = new DayPilot.Scheduler("dps1");
var dps2 = new DayPilot.Scheduler("dps2");
Comment posted by Anonymous 7 years ago.
Thanks for that ... all works.
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.