AJAX Calendar/Scheduling Controls
The top left corner content can be customized in page_load event, but it can be customized when click zoom in or zoom out. e.g. only when hour view, i want to display the data string in the top left corner..
It will be possible to update the upper-left corner in DayPilot Pro 5.0.
See also forums.daypilot.org/Topic.aspx/566/update_ressourcecolumn_with_callback
Update: This is not yet working in DayPilot Pro 5.0. However, it's now implemented and it will be available in DayPilot Pro 5.0 SP1.
Hi,
I've looked at the documentation for 5.0 and 5.0 SP1, but i cant find any information as to how to change content of top left corner. Can you please elaborate?
Please see an example from Demo/Scheduler/Default.aspx.cs:
protected void DayPilotScheduler1_BeforeResHeaderRender(object sender, DayPilot.Web.Ui.Events.BeforeHeaderRenderEventArgs e) { if (e.IsCorner) { e.InnerHTML = String.Format("<div style='padding:5px; font-weight: bold; font-size:22px; text-align:center'>{0}</div>", DayPilotScheduler1.StartDate.Year); } }
DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java