Hi everyone. I am a software developer and have taken over one of my company's business apps that use the infragistics controls. We use the WinSchedule UltraMonthView to display appointments for our customers.
The previous developer who did the original coding and is no longer with my company always stated that the problem i am about to explain is a bug/problem in the infragistics calendar control. We use the .NET Advantage 2008 for Windows Forms.
I have attached two screen shots. The first shows appts with a calendar start date of 10-31-2011. The second shows a start date of 11-1-2011. The issue is that when we have appts. that start in the following month and the calendar start date is the previous month, the appts for the upcomming month do NOT show their appts.
Can anyone confirm if this is abug in the 2008 version of the controls or was I told something incorrect by the previous developer. This is my first experience with the controls, so I am not sure myself. Thank you.
Hello again,
Another approach that you could consider might be the following:
ultraMonthViewSingle1.ScrollDayIntoView(Convert.ToDateTime("1/1/2012"), false);
I hope this helps. Please do not hesitate to ask anything else.
Hi,
Could you please try the following code sample and see if it meets your requirements:
DateTime first = new DateTime(DateTime.Today.Year, DateTime.Today.Month, 1); ultraCalendarInfo1.ActiveDay = ultraCalendarInfo1.GetDay(first, true);
Feel free to let me know if I misunderstood you, I will be happy to assist you further.
Thanks again for the help Boris, i am now all set here.
I do have one more question. How do I set the FirstVisibleDay of the calendar? This is readonly and I am searching for the proper way to do this. Thank you again!
If you want, you could attach a sample, reproducing this, for me to take a look at it. I will be happy to do this and assist you further on this matter.
Hi Boris. Thank you for the response. You have the right idea. I am going to research my code to see where the problem is. If I have anymore questions I'll respond again. Thank you!!