This question is locked. New answers and comments are not allowed.
Hi ,
It's posible to use dynamic types with MVC grid?
my controller class generates anonymous type collections. I would like to use anonymous types instead of ViewModel pattern.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<% Html.Telerik().Grid<dynamic>()
.Name("Ambientes")
.DataBinding(dataBinding => dataBinding.Ajax().Select("_AjaxBinding", "Sort"))
.Columns(column => { column.Bound("yyy").Title("uuu");
column.Bound("iii").Title("Ambiente"); })
It's posible to use dynamic types with MVC grid?
my controller class generates anonymous type collections. I would like to use anonymous types instead of ViewModel pattern.
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<dynamic>" %>
<% Html.Telerik().Grid<dynamic>()
.Name("Ambientes")
.DataBinding(dataBinding => dataBinding.Ajax().Select("_AjaxBinding", "Sort"))
.Columns(column => { column.Bound("yyy").Title("uuu");
column.Bound("iii").Title("Ambiente"); })