You can use BeforeCellRender event to highlight the current day. See also cell customization.
JavaScript
dp.onBeforeCellRender = function(args) {
if (args.cell.start <= DayPilot.Date.today() && DayPilot.Date.today() < args.cell.end) {
args.cell.backColor = "#ffcccc";
}
};
ASP.NET WebForms
protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
{
if (e.Start.Date == DateTime.Today)
{
e.BackgroundColor = "silver";
}
}
ASP.NET MVC
Use OnBeforeCellRender method:
protected override void OnBeforeCellRender(BeforeCellRenderArgs e)
{
if (e.Start.Date == DateTime.Today)
{
e.BackgroundColor = "silver";
}
}
DayPilot