I try to implement custom rendering (disabling/hiding dates depending on input params), something like below
DateTime dAllowdate = DateTime.Today.AddDays(-1);
if (e.Day.Date <= dAllowdate.Date)
{
e.Cell.ForeColor = System.Drawing.Color.gray;
e.Day.IsSelectable = false;
}
else
{
e.Cell.ForeColor = System.Drawing.Color.green;
}
But when implementing any DayRender hadler, even empty, all calendar dates become invisible, see
image