Adding Holidays on for ASP.NET tutorial
Asked by Anonymous
2 years ago.
2 years ago.
can anyone tell me how to set holidays in this tutorial ?
Angular: How To Build Annual Leave Scheduling Application (ASP.NET Core Backend) | DayPilot Code
This function below sets the Weekends but i’m wondering how to set the holidays in the sameway ?
protected void DayPilotScheduler1_BeforeCellRender(object sender, DayPilot.Web.Ui.Events.BeforeCellRenderEventArgs e)
{
if (e.IsBusiness)
{
e.BackgroundColor = "#ffffff";
}
else
{
e.BackgroundColor = "#f8f8f8";
}
}
DayPilot