search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Most of the code in Controller shows error

Related article: Scheduler for ASP.NET MVC 4 Razor (C#, VB.NET, SQL Server)
Asked by knzk
8 years ago.

I guess the errors appear because of missing the "using" method in the top of the controller. However, I can't figure out what "using" method to add into the Controller.

Answer posted by Dan Letecky [DayPilot]
8 years ago.

The attached sample project includes a working application - you can check the source code of the controll in TutorialCS/App_Code/Controller/SchedulerController.cs.

It's now also added to the tutorial text (see the "Backend MVC Controller" section).

Also, don't forget to add a reference to DayPilot.Web.Mvc.dll. The sample project is a "Web site" and not a compiled project so the dependencies are just placed in "bin" directory.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.