This question is locked. New answers and comments are not allowed.
Hi All,
I have telrik mvc grid which is bind to data table. Grid have one link template column, All is working properly except only ajax call on page navigation. When I click on next page, template column will be blank. Is it required to add client template column. If yes, How can we right my Temlate code in client template. Grid code is
I have telrik mvc grid which is bind to data table. Grid have one link template column, All is working properly except only ajax call on page navigation. When I click on next page, template column will be blank. Is it required to add client template column. If yes, How can we right my Temlate code in client template. Grid code is
@(Html.Telerik().Grid(Model) .Name("Grid") .Columns(columns => { foreach (DataColumn column in Model.Columns) { if (column.ColumnName.Contains("Link")) { //Template column which shows an action link columns.Bound(column.DataType,column.ColumnName).Template( @<text> @Html.ActionLink(@item.Row.ItemArray.GetValue(column.Table.Columns.IndexOf(column.ColumnName)).ToString(), column.ColumnName.Split(';').GetValue(3).ToString(), column.ColumnName.Split(';').GetValue(2).ToString(), new { id = @item.Row.ItemArray.GetValue(column.Table.Columns.IndexOf(column.ColumnName)) }, new { @class = "reesendInviteLink" }) </text> ).Title(column.ColumnName.Split(';').GetValue(1).ToString()).HtmlAttributes(new { Style = "text-align: right;" }); } else columns.Bound(column.DataType, column.ColumnName); } }) .DataBinding(dataBinding => dataBinding.Ajax().Select("_SearchContent", "GlobalSearch")) .Pageable(paging => paging.PageSize(ViewBag.PageSize).Style(Telerik.Web.Mvc.UI.GridPagerStyles.NextPreviousAndNumeric)) .Pageable() .Sortable() .Filterable() .Groupable() )