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

[Solved] Invalid Slot Index

4 Answers 93 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Aditya
Top achievements
Rank 1
Aditya asked on 03 Jul 2009, 11:23 AM
Hi All,
        I have the scheduler setup with say two resources namely room1 and room2. When I tried to drag and drop an appointment from one resource to another resource it gives me an Invalid Time slot error. Could you please help ?

Thanks,
Aditya

4 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 03 Jul 2009, 02:06 PM
Hi Aditya ,

I am not sure why you experience this problem. The resource grouping demo does not have any errors:
http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx

How is your implementation different?


Kind regards,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Aditya
Top achievements
Rank 1
answered on 03 Jul 2009, 05:18 PM
Is there anyway I can debug the error. Right now it just tells me that the error corresponds to a System.InvalidOperation followed by an invalid slot index. Thoughts ?

Aditya
0
Genady Sergeev
Telerik team
answered on 07 Jul 2009, 12:32 PM
Hi Aditya ,

Could you please try to reproduce the issue with the newest version of the scheduler? This is Q2 2009. We have fixed a lot of issues and it is possible that this very issue is fixed as well.

Other that that, could you disable the AJAX on your page and send us the stack trace of the error. Also if you have a sample project that isolates the error it will be of a great use into debugging the fault.

Kind regards,
Genady Sergeev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Aditya
Top achievements
Rank 1
answered on 07 Jul 2009, 12:39 PM
I was able to solve the problem. It was happening because the scheduler was being grouped by Resources on the initial load but in the cs code I was creating a dynamic query and in that query I was not grouping it by resources and hence the problem.

Thanks,
Aditya
Tags
Scheduler
Asked by
Aditya
Top achievements
Rank 1
Answers by
Peter
Telerik team
Aditya
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or