This question is locked. New answers and comments are not allowed.
I am using a server side grid and trying to filter on a custom property. The code below shows a property named "Type." This is property for a class. I am using a display template for one of its properties and when I try to filter nothing shows in the drop down list. If I try to filter I get an object reference is null error.
Html.Telerik().Grid(Model)
.Name(
"Grid")
.DataKeys(keys => keys.Add(c => c.MiniatureId))
.DataBinding(dataBinding => dataBinding.Server()
.Select(
"Index", "Miniature"))
.Pageable(pager => pager.PageSize(15))
.Sortable()
.Scrollable(scrollable => scrollable.Height(450))
.Groupable(group => group.Enabled(
true))
.Filterable()
.Columns(columns =>
{
columns.Template(c =>
{
%>
<a href="<%=Url.Action("Edit", "Miniature", new {id = c.MiniatureId})%>">Edit</a>
<a href="<%=Url.Action("Details", "Miniature", new {id = c.MiniatureId})%>">View</a>
<%
}).Width(80);
columns.Bound(c => c.Type).Width(100);
columns.Bound(c => c.Name).Width(200);
}).Render();