Hi,
I'm just trying to play with the Scheduler and I get a compile error when I try to load the page. Here is the compiler error:
At design time in the page, I have VS red squigly lines under the () of (bolded): @(Html.Kendo().Scheduler<Shiner.ViewModels.CompanyEventVM>()
I have validated that the Kendo.MVC assembly is referenced correctly and has the latest version...2013.2.716.340.
I not sure where to go from here because everything else Kendo is working fine.
Thanks in advance.
I'm just trying to play with the Scheduler and I get a compile error when I try to load the page. Here is the compiler error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0311: The type 'Shiner.ViewModels.CompanyEventVM' cannot be used as type parameter 'T' in the generic type or method 'Kendo.Mvc.UI.Fluent.WidgetFactory.Scheduler<
T
>()'. There is no implicit reference conversion from 'Shiner.ViewModels.CompanyEventVM' to 'Kendo.Mvc.UI.ISchedulerEvent'.
Source Error:
Line 19:
Line 20:
Line 21: @(Html.Kendo().Scheduler<
Shiner.ViewModels.CompanyEventVM
>()
Line 22: .Name("scheduler")
Line 23: .Date(new DateTime(2013, 6, 13))
I have validated that the Kendo.MVC assembly is referenced correctly and has the latest version...2013.2.716.340.
I not sure where to go from here because everything else Kendo is working fine.
Thanks in advance.