0

我在 mvc 中使用 daypilot,在视图页面中我收到这个 daypilot 的错误

例外 :

System.Web.WebPages.Html.HtmlHelper' does not contain a definition for 'DayPilotScheduler' and the best extension method overload 
'DayPilot.Web.Mvc.DayPilotExtensions.DayPilotScheduler(System.Web.Mvc.HtmlHelper, string, DayPilot.Web.Mvc.DayPilotSchedulerConfig has some invalid arguments

实际代码:

@Html.DayPilotScheduler("dps", new DayPilotSchedulerConfig { BackendUrl = Url.Content("~/Scheduler/Backend"), EventResizeHandling = EventResizeHandlingType.CallBack, EventMoveHandling = EventMoveHandlingType.CallBack, TimeRangeSelectedHandling = TimeRangeSelectedHandlingType.CallBack, CellGroupBy = GroupBy.Month, CellDuration = 1440, Days = 365, StartDate = new DateTime(DateTime.Today.Year, 1, 1) })
4

0 回答 0