I am having some trouble with integrating a ContextMenu with RadScheduler. I followed the example that comes with the Q1 2008 release, but on the serverside, when trying to create an IschedulerTimeSlot with the passed timeslot index string (which, in my case looks something like 1:2:2, with variations depending on the slot clicked), I get a "Cell index out of range: 0" error. In the week view, zero here can be replaced with a number that represents the day of the week, and which is the last digit in the index string. Client side, I basically copied your code from the integration sample.
On the other hand, if I try to use code from the client-side events sample, using the function onTimeSlotContextMenu and the eventArgs.get_time() method, I get a Javascript error that the method is not supported. Stepping through with the debugger, it would seem that there is a field available (_startTime), but this seems to be completely undocumented, and I would rather not access a field directly anyway if there are supported/preferred methods in case things change down the road.
So... is there any update to the documentation available that might help me out here? Essentially, all I need to do here is access the timeslot that opened the context menu which was then clicked. Ultimately, I need a datetime object to work with. At the moment, I have a choice among 1. Client-side error, 2. Server-error, and 3. Accessing a client-side field which needs to be parsed before use.
On the other hand, if I try to use code from the client-side events sample, using the function onTimeSlotContextMenu and the eventArgs.get_time() method, I get a Javascript error that the method is not supported. Stepping through with the debugger, it would seem that there is a field available (_startTime), but this seems to be completely undocumented, and I would rather not access a field directly anyway if there are supported/preferred methods in case things change down the road.
So... is there any update to the documentation available that might help me out here? Essentially, all I need to do here is access the timeslot that opened the context menu which was then clicked. Ultimately, I need a datetime object to work with. At the moment, I have a choice among 1. Client-side error, 2. Server-error, and 3. Accessing a client-side field which needs to be parsed before use.