Changing the DataSource configuration to this it worked:
Also the ActionResult
is of type POST
var dataSource = new kendo.data.DataSource({
serverSorting: true,
serverFiltering: true,
serverGrouping: true,
serverPaging: true,
type: "aspnetmvc-ajax",
sort: { field: "DataItemName", dir: "desc" },
transport: {
read: {
prefix: "",
url: "/Home/Search"
}
},
});