This is due to a different approach to the presentation of Razor. To do this, you need to remove the Render () call and build the grid in a multi-line expression block, for example:
@using Telerik.Web.Mvc.UI
@model Outdoor.Mvc.ViewModels.OutdoorSite.SiteList
@(
Html.Telerik().Grid(Model.ItemList).Name("Site Grid")
.Columns(columns =>
{
columns.Bound(o => o.SiteId);
columns.Bound(o => o.Name);
})
.Pageable()
.Sortable()
)
source
share