Disable all previous date in calender control using ASP.NET C#
CE code for Disable previous date
protected void Calendar1_DayRender(object sender, DayRenderEventArgs e)
{
if (e.Day.Date <= DateTime.Today.Date)
{
e.Day.IsSelectable = false;
}
}
No comments:
Post a Comment