This question is locked. New answers and comments are not allowed.
Sorry for the awful thread title, I typed too fast and didn't double check it....
I have a mvc grid that is rebinding using a callback from a .getJSON call.
The problem is, I have a checkbox column that is a template column and after the dataBind(), the column is just empty.
I have a mvc grid that is rebinding using a callback from a .getJSON call.
$.getJSON("Home/_CustomBinding", { getPageNumber: getpagenumber }, function (data) { var grid = $('#' + gridid).data('tGrid'); grid.dataBind(data.Data); }, 'json');
The problem is, I have a checkbox column that is a template column and after the dataBind(), the column is just empty.
@(Html.Telerik().Grid(Model.Data) .Name(Model.GridID) .Columns(columns => { columns.Template(@<text> <input onclick='updateSelection("@Model.GridID")' name="checkedRecords" type="checkbox" value="@item.ResultId" title="checkedRecords"/> </text>).Title("").Width(35); columns.Bound(o => o.FullName); }) .Scrollable()
)