or
Unable to get property 'length' of undefined or null reference kendo.web.min.js, line 10 character 28275@(Html.Kendo().Grid<Fluid>() .Name("Grid") .Columns(columns => { columns.Bound(o => o.FluidID).Groupable(false); columns.Bound(o => o.Name); columns.Bound(o => o.Code); columns.Bound(o => o.Grade); columns.Bound(o => o.Manufacturer); }) .Deferred() .Pageable() .Sortable() .Filterable() .Scrollable() .Groupable() .DataSource(dataSource => dataSource .Ajax() .Read(read => read.Action("GetJsonData", "FluidKendo")) ))public ActionResult GetJsonData([DataSourceRequest] DataSourceRequest request){ List<Fluid> allFluids = MockFluids(); // When drag column header into group by row the following JavaScript error occurs // JavaScript error IE: SCRIPT5007: Unable to get property 'length' of undefined or // null reference kendo.web.min.js, line 10 character 28275 // JavaScript error Chrome: Uncaught TypeError: Cannot read property 'length' of undefined // --- Example taken from the Custom AJAX Binding example: CustomAjaxBindingController.cs var resultThatErrors = new DataSourceResult(); resultThatErrors.Data = allFluids; resultThatErrors.Total = allFluids.Count(); return Json(resultThatErrors); }.GroupFooterTemplate( f => "Sum: " + f.Sum ).Aggregates( a => a.Add(c => c.Quantity).Sum())<input name="fileUpload" type="file" id="fileUpload" data-bind="kendoUpload: $root.fileUploadSettings()" />var fileCategory = "myCategory";fileUploadSettings = function () { var kendoSettings = { multiple: false, enabled: true, async: { saveUrl: "../Entity/AddFiles" }, success: function (e) { _uploadFileSuccess(e, fileCategory); }, error: function (e) { _uploadFileError(e, fileCategory); }, select: function (e) { _uploadFile(e, fileCategory); }, localization: { select: "Upload File" }, };[HttpPost]public ActionResult AddFiles(File data, System.Web.HttpPostedFileBase fileUpload){ try { File file = FileUIService.AddFile(data, fileUpload); FileView rfv = new FileView() { Id = file.Id, Name = fileUpload.FileName.Substring(fileUpload.FileName.LastIndexOf('\\') + 1) }; return Json(rfv, "text/plain"); } catch (Exception ex) { return Json(ex.Message, "text/plain"); }}