I would like to pass additional parameters from the page to the scheduler read via javascript. I have done this in the past with the kendo grid and this thread implies that the scheduler should work the same way https://www.telerik.com/forums/pass-additional-parameters-to-read-ajax-datasource-method---mvc but it isn't working for me.
I get the following error:
Compiler Error Message: CS1061: 'SchedulerAjaxDataSourceBuilder<CalendarItemGridItem>' does not contain a definition for 'Data' and no extension method 'Data' accepting a first argument of type 'SchedulerAjaxDataSourceBuilder<CalendarItemGridItem>' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 42: m.RecurrenceId(f => f.RecurrenceId);
Line 43: })
Line 44: .Read("Schedule_Read", "Calendar").Data("getSchedulerData")
Line 45: .Create("Schedule_Create", "Calendar")
Line 46: .Destroy("Schedule_Destroy", "Calendar")