There are three steps required for using DayPilot Pro for MVC in a project:

  1. Include the DLL.
  2. Include the scripts.
  3. Include the theme CSS (optional).


  • If you are using a compiled ASP.NET MVC project: Add DayPilot.Mvc.dll to project references.
  • If you are using a web site project: Copy DayPilot.Mvc.dll to the Bin directory of the project.

DayPilot.Mvc.dll can be found in Binary/MvcX directory in the DayPilot Pro zip file. It includes binaries for MVC 3, MVC 4, and MVC 5.


Copy daypilot-all.min.js script to Scripts directory and reference the script in the MVC view:

<script type='text/javascript' src="@Url.Content("~/Scripts/DayPilot/daypilot-all.min.js")'></script>

The script can be found in the Scripts directory of the DayPilot Pro zip file.

CSS Themes

Since version 7.7 DayPilot Pro includes a built-in default theme so it's not necessary to include any CSS files.

If you want to use one of the external themes, copy the css file and include it in the web page:

<!DOCTYPE html>
    <!-- ... -->
    <link type='text/css rel='stylesheet' href='@Url.Content("~/Themes/scheduler_white.js")' /> 
</head> <body> <!-- ... --> </body> </html>