This question is locked. New answers and comments are not allowed.
I want display a boolean attribute as a checkbox on grid. When i use checkbox sample code in grid demo and build, i have an error: "Cannot implicitly convert type 'void' to 'object' " and mark at .Render();
Here my source code:
I using VS 2008 SP1, ASP.NET MVC 1.0. In this code, i didn't use a boolean to check yet. I just tested sample code.
Here my source code:
| <%= Html.Telerik().Grid<DangKyHocPhan.Models.LopLyThuyet>(Model) |
| .Name("DangKyHocPhan") |
| .Columns(columns => |
| { |
| columns.Template(o => |
| { |
| %> |
| <input name="checkedRecords" type="checkbox" checked="checked"/> |
| <% |
| }).Title("Check").Width(50).HtmlAttributes(new { style = "text-align:center" }); |
| }) |
| .Render(); |
| %> |
I using VS 2008 SP1, ASP.NET MVC 1.0. In this code, i didn't use a boolean to check yet. I just tested sample code.