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

RadScheduler Month View and Groupping Error

3 Answers 18 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Alidata DEV Team
Top achievements
Rank 1
Alidata DEV Team asked on 06 Sep 2013, 08:55 AM
Hello Telerik Team,

I'm using your scheduler, and found a problem when adding an appointment to the scheduler using context menu.
I was able to reproduce the same problem in your online example: http://demos.telerik.com/aspnet-ajax/scheduler/examples/contextmenu/defaultcs.aspx.
To debug the problem, please set the scheduler to "Month View" and "Group by Calendar", next select 2 or 3 days using dragging on the timeslot and click in context option "New Appointment", in your example I'm redirected to this page "http://demos.telerik.com/ErrorPageResources/error.aspx?aspxerrorpath=/aspnet-ajax/scheduler/examples/contextmenu/defaultcs.aspx", I'm my code I get the error:
Resource index out of range: 6
at Telerik.Web.UI.Scheduler.Views.Month.GroupedByResource.Model.GetSlotByIndex(String index)
   at Telerik.Web.UI.Scheduler.Views.SchedulerModel.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.Scheduler.Views.SchedulerModel.<GetTimeSlotContextMenuCommands>b__1(ISchedulerModel ActiveModel, SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.ProcessTimeSlotContextMenuItemCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)
   at Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument)
   at Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
.......

Is this a bug, or something I'm doing wrong?

Thanks for the fast reply.
Alexandre Pereira

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 11 Sep 2013, 10:21 AM
Hi Alexandre,

 
Thank you for reporting the issue and for your concern with RadControls.

It looks like a bug in RadScheduler when the OnTimeSlotContextMenuItemClicking server event is hooked. If it is not used the error is not seen. I have logged the issue and we will make our best to fix it as soon as possible.

If you observe some other unusual behavior please don' t hesitate to share them again.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
0
Alidata DEV Team
Top achievements
Rank 1
answered on 16 Sep 2013, 11:06 AM
Thank you for the reply.
Soon you have a fix or a workaround, please let me know.

Best Regards,
Alexandre
0
Plamen
Telerik team
answered on 19 Sep 2013, 07:12 AM
Hi Alexandre,

 
I have created a feedback item where can follow the status of the issue and vote for it here.

Regards,
Plamen
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Scheduler
Asked by
Alidata DEV Team
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Alidata DEV Team
Top achievements
Rank 1
Share this question
or