Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
issue while clearing UltraCalendarInfo appointments
posted

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

 

 

 

Parents
No Data
Reply
  • 48586
    Suggested Answer
    posted

    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.

    WinMountViewSingel180App.zip
Children