Hello,
I'm having a wierd display error where certain calendar events are visually cut off (see screen shot). I've investigated and found no difference in the data between ones that work and ones that done.
I'm adding items to the calendar in C# using objects that inherit from IAppointmentData (see below).
Has someone seen this before? Thanks.
Steven
I'm having a wierd display error where certain calendar events are visually cut off (see screen shot). I've investigated and found no difference in the data between ones that work and ones that done.
I'm adding items to the calendar in C# using objects that inherit from IAppointmentData (see below).
Has someone seen this before? Thanks.
Steven
//map to appointment objectsforeach (DataRow row in events.Tables[0].Rows){ DateTime startDate = (DateTime)row["Event_StartDate"]; DateTime endDate = (DateTime)row["Event_EndDate"]; if (startDate <= endDate) { AppointmentData apt = new AppointmentData(); apt.Start = startDate; apt.End = endDate; //apt.Attributes.Add("ProgramName", row["ProgramName"].ToString()); apt.Description = row["ProgramName"].ToString(); apt.Subject = "<b>" + row["Event_Title"].ToString() + "</b><br><i>" + row["ProgramName"].ToString() + "</i>"; //apt.Description = row["Event_Description"].ToString(); apt.ID = row["EventId"].ToString(); if (!addedAppts.Contains(apt.ID.ToString())) { appts.Add(apt); addedAppts.Add(apt.ID.ToString()); } }}