Which Javascript files to include

Below a table that sumarize the use of the Mvc Controls Toolkit Javascript files:


removed starting from

(you may include the various files in the same js bundle)

MVCControlToolkit.Controls.Core-x.x.x.min.js Core Js code. Need to be included always
MVCControlToolkit.Controls.Grid-x.x.x.min.js Datagrid js code
MVCControlToolkit.Controls.Items-x.x.x.min.js SortableList js code


(needs MvcControlToolkit.Utils-x.x.x.min.js)

DateTimeInput js code


starting from 3.0.0 renamed to:



It comes with the css file:



  TreewView Code


removed starting from

(you may include the various files in the same js bundle)

(needs MvcControlToolkit.Utils-x.x.x.min.js)




Client-Side ViewModel and Templates code
(needs knockout.all-x.x.x.min.js)
  jsQueryable and updateManager

Useful javascript utilities pre-requisite for   knockout.all-x.x.x.min.js and 


MVCControlToolkit.Controls.Core-x.x.x.min.js contains the js core of the Mvc Controls toolkit and you have always to include it. The other files to include depend on the controls used in the page.

MVCControlToolkit.Controls.Datetime-x.x.x.min.js is needed just for the DateTimeInput. It is not needed if you display dates/datetimes with TypedTextBox and TypedEditDisplay 

DateTimeInput TypedTextBox and TypedEditDisplay  when displaying dates need either the jQuery UI DatePicker, or the Bootstrap or the jQuery Mobile DateBox (please refer to the bundles definition file included in the Mvc Controls Toolkit Nuget package and in the Mvc Controls Toolkit Nuget binary distribution for the link of the Nuget packages containing these Date Pickers)

MvcControlToolkit.Bindings-x.x.x.js needs knockout-x.x.x.js and knockout.mapping-x.x.x.js

Attention MvcControlToolkit.Bindings-x.x.x.js needs MvcControlToolkit.Utils x.x.x.min.js: MvcControlToolkit.Utils-x.x.x.min.js must be placed immediately after  knockout-x.x.x.js and knockout.mapping-2.0.0.js.

MVCControlToolkit.JsQueryable-x.xx.min.js needs MvcControlToolkit.Bindings-x.x.x.js  

If you would like to use the underscore template engine with the knockout library you can include the last release of the Underscore.js file just before the MvcControlToolkit.Bindings-x.x.x.js file. 

Last edited Jun 22, 2014 at 10:33 AM by frankabbruzzese, version 17


No comments yet.