Posted 14 Nov 2012 Link to this post
@Modeltype IEnumerable(Of KendoUIMvcApplication2.ViewModels.ProductViewModel)
@Code
ViewData("Title") = "Home Page"
End Code
<
h2
>@ViewData("Message")</
>
br
/>
@(Html.Kendo.Grid(Model).Name("Grid") _
.Groupable() _
.Pageable() _
.Sortable() _
.Scrollable() _
.Filterable() _
.Columns(Sub(columns)
columns.Bound(Function(p) p.ProductID).Groupable(False)
columns.Bound(Function(p) p.ProductName)
columns.Bound(Function(p) p.UnitPrice)
columns.Bound(Function(p) p.UnitsInStock)
End Sub) _
.DataSource(Function(dataSource)
dataSource.Ajax().Read(Function(read) read.Action("Products_Read", "Grid"))
End Function))
Posted 29 Apr 2015 in reply to Greg Link to this post
Thank you Greg for posting a follow up to your own question.
It is very hard to find examples in .vbhtml (even 3 years later)