Hi,
In our application we are using UltraMonthViewSingle and UltraCalendarInfo .
In one of the operations,we are clearing all the appointments of the UltraCalendarInfo.It was working
properly in the initial days.But now we are getting an exception.The message is mentioned below.
"Index 0 is either negative or above rows count"
When we tried find to out the reason behind this,we came to know that this is happening once the number of appointments are 180 or above.
To confirm this,we removed some appointments and tried
UltraCalendarInfo.Appointments.Clear().This executed without any exception.
Is there any limit for the number of appointments in 'UltraCalendarInfo'?
The code segment which loads the UltraCalendarInfo is given below
ultraCalendarInfo.DataBindingsForAppointments.SetDataBinding(dataset, string.Empty);
The code segment doing clear operation is given below.
if (ultraCalendarInfo.Appointments.Count > 0) { ultraCalendarInfo.Appointments.Clear(); }
Is there any solution for this issue?
Thanks,
Jithesh
Hello,
I have test your scenario with Infragistics 11.1 service release 2026 and was not able to reproduce this behavior. Please see attached sample. So please test your application with the mentioned version of Infragistics and let me know for the result.
Please let me know if you have any further questions.
Hi Hristo,
Couldn't test this in our application as it will create problems for us if we use 11.1 controls. Will update you after testing.(our current version is 10.2)