Hi
I have to block all previous date in calendar. for that I have given coding as
protected void QuickCalendar_D ayRender(object sender,
System.Web.UI.W ebControls.DayR enderEventArgs e)
{
if ((e.Day.Date < DateTime.Now))
{
e.Day.IsSelecta ble = false;
}
}
But if i give that its blocking todays date also. I want todays date to be active.
I have to block all previous date in calendar. for that I have given coding as
protected void QuickCalendar_D ayRender(object sender,
System.Web.UI.W ebControls.DayR enderEventArgs e)
{
if ((e.Day.Date < DateTime.Now))
{
e.Day.IsSelecta ble = false;
}
}
But if i give that its blocking todays date also. I want todays date to be active.
Comment