Hi All,
I've only just started using Kendo UI stuff so please bear with me.
I have included the grid in an ASP.NET MVC 4 application in a cshtml file with the following code lifted from an example:
<h2>Administration</h2>
@Html.Kendo().Grid(Model.SystemUsersViewModels).Name("SystemUserGrid").Columns(columns =>
{
columns.Bound(user => user.UserName);
columns.Bound(user => user.Email);
columns.Bound(user => user.IsApproved);
columns.Bound(user => user.IsLockedOut);
columns.Bound(user => user.LastLoginDate);
}
).Pageable().Sortable().Scrollable().Filterable().DataSource(datasource => datasource.Ajax().ServerOperation(false))
I have a simple grid being fed a collection of UserViewModels via the property SystemUsersViewModels on my view model.
I have been trying to keep the JS size down so I had originally included just the grid js, then used the custom online tool to build a kendo.custom.js, all failed to I ended up including the kitchen sink files (as far as I'm aware) and I still cannot get this to work without errors.
kendo.all.min.js
kendo.aspnetmvc.min.js
The grid renders ok with the data but I get the following error ...
Error:
0x800a01b6 - Microsoft JScript runtime error: Object doesn't support property or method 'kendoGrid'
I've run out of ideas now, any pointers would be great.
TIA,
I've only just started using Kendo UI stuff so please bear with me.
I have included the grid in an ASP.NET MVC 4 application in a cshtml file with the following code lifted from an example:
<h2>Administration</h2>
@Html.Kendo().Grid(Model.SystemUsersViewModels).Name("SystemUserGrid").Columns(columns =>
{
columns.Bound(user => user.UserName);
columns.Bound(user => user.Email);
columns.Bound(user => user.IsApproved);
columns.Bound(user => user.IsLockedOut);
columns.Bound(user => user.LastLoginDate);
}
).Pageable().Sortable().Scrollable().Filterable().DataSource(datasource => datasource.Ajax().ServerOperation(false))
I have a simple grid being fed a collection of UserViewModels via the property SystemUsersViewModels on my view model.
I have been trying to keep the JS size down so I had originally included just the grid js, then used the custom online tool to build a kendo.custom.js, all failed to I ended up including the kitchen sink files (as far as I'm aware) and I still cannot get this to work without errors.
kendo.all.min.js
kendo.aspnetmvc.min.js
The grid renders ok with the data but I get the following error ...
Error:
0x800a01b6 - Microsoft JScript runtime error: Object doesn't support property or method 'kendoGrid'
I've run out of ideas now, any pointers would be great.
TIA,