Calendar show weekend disable.
//code for day is weekend so disable to select event that day.
if (e.Day.IsWeekend)
{
e.Cell.BackColor = System.Drawing.Color.White;
e.Cell.ForeColor = System.Drawing.Color.Brown;
e.Day.IsSelectable = false;
e.Cell.Text = "Holyday";
}
No comments :
Post a Comment