This question is locked. New answers and comments are not allowed.
Hi...
I´m trying build a grid, using NHibernate and Telerik Grid (Biding Ajax), however when i using complex type the Controller return Internal Server Error 500.
can Anyone help me?
My Class and the grid are Bellow...
I´m trying build a grid, using NHibernate and Telerik Grid (Biding Ajax), however when i using complex type the Controller return Internal Server Error 500.
can Anyone help me?
My Class and the grid are Bellow...
public class Instalacao{
...
[UIHint("InstalacaoView")]
public virtual Instalacao InstalacaoPai { get; set; }
[UIHint("OrgaoMenorView")]
public virtual Orgao OrgaoMenor { get; set; }
...
}...[GridAction] public ActionResult _AjaxBinding() { //BpManterInstalacao Return Instalacao´s List IEnumerable<Instalacao> lista = new BpManterInstalacao().GetAll(); return View(new GridModel<Instalacao> { Data = lista }); }...<%= Html.Telerik().Grid<Instalacao>() .Name("Grid") .Columns(columns => { columns.Bound(o => o.Id); columns.Bound(o => o.InstalacaoPai); columns.Bound(o => o.Nome); columns.Bound(o => o.OrgaoMenor); }) .DataBinding(dataBinding => dataBinding.Ajax().Select("_AjaxBinding", "Grid")) .Pageable() .Sortable() .Scrollable() .Groupable() .Filterable()%>