Using RadCalendar and I thought is would be simple
I want all dates in the past to be disabled and I thought this would do it:
private void radCalendar1_ElementRender(object sender, RenderElementEventArgs e)
{
if (e.Day.Date < DateTime.Now)
e.Day.Disabled = true;
}
Th goals is to have it look like this but it seems to have no effect and I can selected dates that the code set as disabled.
What am I missing?
Thanks
Carl