We are upgrading from v9.2 to v12.1. In v9.2, the day in the month view calendar would be bold if there was something on that day. Now, it looks like all the days are bold even if there is nothing for that day. Does anyone know how to fix this?
Thank you.
I replaced the single appointment with databinding schema. Please take a look at my sample attached and let me know if it is what you are looking for. The image inside is another screenshot of the sample in runtime.
Hi Michael,
We are not using ultraCalendarInfo1.Appointments.Add. We are using the code below:
// DataSource & DataMemberultraCalendarInfo.DataBindingsForAppointments.BindingContextControl = this;if (scheduleData.Tables.Contains("Tasks") && scheduleData.Tables["Tasks"].Rows.Count > 0){ ultraCalendarInfo.DataBindingsForAppointments.SetDataBinding(scheduleData, "Tasks"); // Basic Appointment properties ultraCalendarInfo.DataBindingsForAppointments.DataKeyMember = "CLAIM_ID"; ultraCalendarInfo.DataBindingsForAppointments.SubjectMember = "TASK_DESCR"; ultraCalendarInfo.DataBindingsForAppointments.DescriptionMember = "CLAIM_NUM"; ultraCalendarInfo.DataBindingsForAppointments.StartDateTimeMember = "TASK_START_DATE"; ultraCalendarInfo.DataBindingsForAppointments.EndDateTimeMember = "TASK_END_DATE"; ultraCalendarInfo.DataBindingsForAppointments.AllDayEventMember = "TASK_ALL_DAY_EVENT"; ultraCalendarInfo.DataBindingsForAppointments.OwnerKeyMember = "EMPLOYEE_ID"; ultraCalendarInfo.DataBindingsForAppointments.ReminderEnabledMember = "HAS_PRIORITY_TASK";}else{ ultraCalendarInfo.DataBindingsForAppointments.Reset();}
Trent
Hello tnguyen13,
I attached a new screenshot that is from my sample. I would like for you to indicate what you would like bold and reattach send it back here. The image shows a MonthView single/mulit and WeekView.
Yes, I am using Office2007 style. The change completely removed the bold in the activity calendar. Those days are fine bolded. It is in the day in the Month calendar that is not bold. I am currently using Windows 7 and Office 2010.
Thank you for contacting Infragistics.
Are you setting the ultraCalendarLook view style to Office2007? If so, the view is causing all the dates to be bold. I have attached a sample that demonstrates how to override the ultraCalendarLook appearance. This will only show bold dates with appointments.
this.ultraCalendarLook1.DayHeaderAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.False; this.ultraCalendarLook1.DayWithActivityAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.True;
this.ultraCalendarLook1.DayHeaderAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.False;
this.ultraCalendarLook1.DayWithActivityAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.True;