This question is locked. New answers and comments are not allowed.
Hi,
could anyone helpme? I need to put the return of <% = intrahelper.labeltitulacion("id_titulacion", (int)lib.id_titulacion) %> inside the column Carredesc
inside the column Carredesc but I don't know how to do it, with this code it appears before the grid.
Thanks!
could anyone helpme? I need to put the return of <% = intrahelper.labeltitulacion("id_titulacion", (int)lib.id_titulacion) %> inside the column Carredesc
inside the column Carredesc but I don't know how to do it, with this code it appears before the grid.
Thanks!
<% Html.Telerik().Grid(Model) .Filterable() .Name("listar") .Pageable(settings => settings.PageSize(20)) .Sortable() .Columns(columns => { columns.Bound(o => o.id_lista).Title("lista"); columns.Bound(o => o.id_peli).Title("peli"); columns.Bound(o => o.titulo).Title("Titulo"); columns.Command(o => {%> <% foreach (var lib in this.Model) {%> <% = intrahelper.labelpeli("id_peli", (int)lib.id_peli) %> <%} %> <%}).Title("Carredesc"); columns.Template(o => {%> <%: Html.ActionLink("Más", "Details", new { @id = o.id_lista })%> <%: Html.ActionLink("Modificar", "Pledit", new { @id = o.id_lista })%> <% }); }) .Render(); %>