i have a telerik grid as follow:
Html.Telerik().Grid<MatchViewModel>().Name("Matches").Columns(cols => { cols.Bound(e => e.Name); cols.Bound(e => e.Date); cols.Bound(e => e.GuestTeamId); cols.Bound(e => e.HostTeamId); cols.Bound(e => e.PostponedDate); ==> cols.Bound(e => e.RefereeId).EditorViewData(new { RefereeName = '' }); cols.Bound(e => e.StatusId); })
in the column reffered by arrow i wanna send referee name as additional data for EditorTemplate.i inferred from the EditorViewData method name that it can help me doing this.but i can't get it working.can anyone help me with this?
thanks.