protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
{
if (e.Day.Date<
{
e.Day.IsSelectable = false;
e.Cell.ToolTip = "This date is not available";
}
else if (e.Day.Date> DateTime.Today)
{
e.Day.IsSelectable = false;
e.Cell.ToolTip = "This date is not available";
}
}
Keep rockiin........
1 comment:
Post a Comment