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.
Hello tnguyen13,
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;
Hi Michael,
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.
Trent
I just changed my sample to make the start and end time exactly the same and I cannot reproduce the issue. The day number in the header is still bold. However because the 6th of June was yesterday, the Appointment text is no longer bold. That is expected behavior. Are you stating that for date numbers in the header are not bold, even for future dates? Have you reproduced this in my sample?
Yes, I have reproduced this issue in your code. The time needs to be 12:00:00AM. See the zip attachment.
If an appointments that have a start and end date on the same day, the text will not be bold. Please use the following to allow all appointment text to bold.
this.ultraCalendarLook1.AppointmentAppearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.True;
Let me know if this is what you are looking for.
It is the day in the MonthViewMulti that is not bold. Please see the attachment. June 13 has an appointment that starts and end at 12:00:00 AM. As you can see in the screenshot, the day 13 in the top left calendar is not bold.
Ok,
I am still am not reproducing the same behavior. I unzipped your last attachment, ran the sample clean. Still no issue, currently investigating.
I am using the same version, but using the initial release build. Therefore I am not entirely sure which build intialized the issue. Currently 13.1 has the same issue. Please note that we no longer support 12.1. Future updates are currently being made for 12.2 and later. I am going to contact our product development department. However you will need to upgrade when a fix is in place. Downgrading to an earlier build is an option but not suggested. Please let me know if you have any additional questions.
I am using v12.1. Which version are you using?