This is a migrated thread and some comments may be shown as answers.

Cell Indexs Out of Range: 1 whend ragging/resizing

1 Answer 44 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 24 Nov 2010, 05:32 PM
I get the following error:

[IndexOutOfRangeException: Cell index out of range: 1]
   Telerik.Web.UI.Scheduler.Views.Week.Model.GetSlotByIndex(String index) +927
   Telerik.Web.UI.Scheduler.Views.SchedulerModel.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +184
   Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack) +4698
   Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument) +108
   Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +42
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +176
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

This happens when the following criteria are met:

1.  I have a <appointmentTemplate>
2.  I have two events with the same start-time on the same calendar.

All dates are draggable/resizable on the calendar view (day) until the appointment items end up with the same start date.

Once this happens,  resizing the one to the right (second in my case)  causes a javascript error adn or the above error.  It can no longer be resized or dragged.  I can double click the event to edit it,  and it will then move around the calendar as much as I want,  until I end up with the same start time again.  And then the error occurs again.

I can provide a test project if need be, but I would prefer you test.

Telerik : 2010.2.713.40

1 Answer, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 25 Nov 2010, 12:48 PM
Hello Mike,

I tried to reproduce your case on our demo "Using Templates" but to no avail.

Could you please send us a test project so we can inspect it and help you?

Thank you!

Greetings,
Veronica Milcheva
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Mike
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Share this question
or