日飞行员调度员在mvc中显示错误?

时间:2014-12-18 06:20:18

标签: asp.net-mvc-4 daypilot

我在mvc中使用日间飞行员,在视图页面中,我今天收到错误

例外:

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) })

0 个答案:

没有答案