Hi, I am receiving an exception when selecting appoints across different days in the UltraMonthViewSingle. This happens when there are more appointments than are visible in a given day and i use the Shift Key to select across days at once. I have tried everything i could think of and nothing seems to fix it. I have searched and cant find any solution either. Please see attachment. This is for a new scheduling module that is slated to hit production customers in June. Any helpt would be greatly appreciated.
odd, maybe time to eat my foot. i upgraded to the latest version in our project and now im not getting it. Sorry.
Also attaching sample project. i also sent to support.
We are using version 9.1. I downloaded the newest version (10.1) in a test environment and upgraded our project and still received the error. I was able to reproduce this easily with a test project. Just put a Ultramonthviewsingle on a form, a calendarinfo and calendarlook. in the form load put this code:
private void Form1_Load(object sender, EventArgs e)
{
List<Appointment> appointments = new List<Appointment>();
for (int i = 0; i <= 10; i++)
Appointment app = new Appointment(DateTime.Today.Date, DateTime.Today.Date);
app.AllDayEvent = true;
app.Locked = false;
app.Subject = "Test";
app.Owner = ultraCalendarInfo1.Owners.UnassignedOwner;
appointments.Add(app);
}
Appointment app = new Appointment(DateTime.Today.AddDays(1).Date, DateTime.Today.AddDays(1).Date);
app.Subject = "Test2";
ultraCalendarInfo1.Appointments.AddRange(appointments.ToArray());
Then try to shift + click select appointments across the days and you will get the error.
I was not able to reproduce this behavior with a simple test. It would seem possible that there is a bug in the version you are using that has since been fixed; you should log an incident with Developer Support and provide a test project that reproduces the problem, and they will take it from there.