How To Search In (Related Column)

Aug 14, 2014 at 6:53 PM
Hi,

I rendered two column in one column.
<span>@item.T_WORKERS.WorkerName @item.T_WORKERS.WorkerSurname.ToUpper()</span> 
 columns.Add(o => o.T_WORKERS.WorkerName).Titled("Column Name")
          .Encoded(false)
          .Sanitized(false)
          .RenderValueAs(o => CustomRenderingOfColumn(o));
My main model is T_CITY.
But I want to search in related column (T_WORKER) .

When i search it get error cause of trying to search in different model column.

Help please, thanks.