AJAX Calendar/Scheduling Controls
how to customize row 1 for user 1 in scheduler
row 2 for 2nd user
row 3 for 3rd user
The rows are defined using Resources property in DayPilotSchedulerDynamic. It's a collection of DayPilot.Web.Ui.Resource objects. The sample declarative definition looks like this:
<DayPilot:DayPilotScheduler ID="DayPilotScheduler1" runat="server" ... > <Resources> <DayPilot:Resource Name="Room A" Value="A" /> <DayPilot:Resource Name="Room B" Value="B" /> ...
You can also fill the collection dynamically in Page_Load:
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { DayPilotScheduler1.Resources.Add("One", "1"); DayPilotScheduler1.Resources.Add("Two", "2"); DayPilotScheduler1.Resources.Add("Three", "3"); } }
DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java