I have downloaded and used Kendo UI with Kendo UI grids, but my source code was very complicated, for several reasons:
I've hacked the sort to enable case insensitive sorting.
I've observed UI bugs when displaying filter menu, page size selector, filter function menu and DatePicker in the filter menu; I've solved these problems with ugly hacks.
On client-side I've refreshed the grid when needed using parameterized posts.
On server-side I have created a function which handled the sort, filter, page size and paging state of the grid dynamically.
However, my client told me that we need a "simple" solution, a grid page should be completed in an hour. I think this is unrealistic with my current approach unless I implement a generalized class to handle the grids. This would be possible using Linq, to handle the tables, fields, filters, sorts, paging and page size. I know this for sure, as my code is not so far from being a general-purpose grid supporter on server-side and a Kendo UI grid factory on client-side. However, my client clearly stated that we don't need to implement this class and prototype, because we should be able to configure Kendo UI simply. He told me (the previously unspecified detail) that we are allowed to return all the rows from a table and filter/sort that on client-side, so points 3 and 4 would become unneeded.
I have been looking at the example here. I would like to have something similar as the example in cshtml. However, in my downloaded Telerik Kendo UI I don't have any server-side content, so the IDE is showing that Html.Kendo().Grid(Model)
is incorrect. The error is as follows:
Error 10 'System.Web.Mvc.HtmlHelper' does not contain a definition for 'Kendo' and no extension method 'Kendo' accepting a first argument of type 'System.Web.Mvc.HtmlHelper' could be found (are you missing a using directive or an assembly reference?)
I am using ASP.NET MVC3 with Linq.
How can I use Telerik Kendo UI with ASP.NET Razor in the style described in the cshtml file in the link? Is this gratis? If no, how much is the cost? Should I install KendoUI.Mvc.VSPackage.vsix?