<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
<link href="styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery.min.js" type="text/javascript"></script>
<script src="js/kendo.web.min.js" type="text/javascript"></script>
<script src="js/kendo.all.min.js" type="text/javascript"></script>
<script src="js/kendo.all.min.js"></script>
<script src="js/kendo.grid.min.js"></script>
<script src="js/jquery-ui-1.7.3.custom.min.js"></script>
</head>
<body>
<div id="example" class="k-content">
<div id="grid"></div>
<script>
$(document).ready(function() {
$("#grid").kendoGrid({
dataSource: {
type: "jsonp",
transport: {
read: "http://localhost:3481/api/employees"
},
schema: {
model: {
fields: {
Code: { type: "String" },
Name: { type: "String" },
ContactName: { type: "string" },
}
}
},
serverPaging: true,
serverFiltering: true,
serverSorting: true
},
height: 250,
sortable: true,
pageable: true,
columns: [
{
field: "Code",
title: "ID",
width: 100,
}, {
field: "Name",
title: "Name",
width: 200
}, {
field: "ContactName",
title: "Contact Name"
}
]
});
});
</script>
</div>
</body>
</html>
Reproduce w/ 2012 RTM All upates
File->New MVC4 Application - Add to source control (TFS2012 Service)
-> Internet Application
Goto NuGet GUI and Install KendoUIWeb
Looks to be version 2012.2.710 updated 10/4/2012 which has yet to hit that date in USA EST... weird. Assuming that is some local server date?
Update...
Killed VS2012 as it was stuck in a loop of throwing that error every 30 seconds or so...
Openedproject and ran:
PM> Install-Package KendoUiWeb
Attempting to resolve dependency 'jQuery (≥ 1.7.1)'.
'KendoUIWeb 2012.2.710' already installed.
Successfully removed 'jQuery 1.7.1.1' from xxx.
Successfully added 'jQuery 1.7.2' to xxx.
Successfully added 'KendoUIWeb 2012.2.710' to xxx.
Successfully uninstalled 'jQuery 1.7.1.1'.
I see the kendo scripts so i am assuming it is good now!