I have been trying to figure out how to can specify days and set there background colour. I have been trying different things like:
(Just to set Sunday as a different colour, this didn't set the background colour of all Sundays)
if (e.Start.DayOfWeek == DayOfWeek.Sunday)
{
e.BackgroundColor = "#000";
}
And then when I do this code to specify a cell it says it wont accept string...
if (e.Start.DayOfWeek == "12/06/2014")
{
e.BackgroundColor = "#000";
}
Then i have also tried passing it a DateTime but it has the same error but wont accept a DateTime.
string date = "12/06/2014";
DateTime dt = Convert.ToDateTime(date);
if (e.Start.DayOfWeek == "12/06/2014")
{
e.BackgroundColor = "#000";
}