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 jbrock31,
I tried your scenario and was not able to reproduce the mentioned behavior. It always works fine for me, so I attached my sample to this post with version 8.1 of Net Advantage. Could you please review it and if you feel that I misunderstood you, please modify my sample or attach a sample of your own(you could do that by clicking on the 'Options' tab above when you are writing your post and then browse for the zip archive through 'Add/Update').
I will be happy to assist you further on this case.
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!!
Hi,
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.
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!
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.
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.