Hello again, I have a problem with my timeslots. It works fine when I am using the dayview, but when I am in weekview my timeslots are not displaying.
I have to timeslots in my weekview and it looks like this, and it's not working. It only shows one big gray field.
EIDT: I fixed it now, thanks.
I have to timeslots in my weekview and it looks like this, and it's not working. It only shows one big gray field.
EIDT: I fixed it now, thanks.
if (e.TimeSlot.Start <= new DateTime(2011, 8, 31, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 31, 15, 00, 00))
{
Debug.WriteLine(e.TimeSlot.Start);
//Debug.WriteLine(e.TimeSlot.Start);
e.TimeSlot.CssClass = "Disabled";
}
if (e.TimeSlot.Start <= new DateTime(2011, 8, 29, 10, 15, 00) || e.TimeSlot.Start >= new DateTime(2011, 8, 29, 15, 00, 00))
{
Debug.WriteLine(e.TimeSlot.Start);
//Debug.WriteLine(e.TimeSlot.Start);
e.TimeSlot.CssClass = "Disabled";
}