protected void Calendar1_DayRender(object sender, DayRenderEventArgs e) { if (e.Day.Date <= DateTime.Today.Date) { e.Cell.Enabled= false; // Changes the Cells Enable Property e.Day.IsSelectable = false; // Disables the Cells Click Property } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)