This question is locked. New answers and comments are not allowed.
I am attempting to display a grid and in one column the child items for the Model are displayed.
The ForEach loop gives me an error of "Expression does not produce a value." Any help with this would be greatly appreciated.
@Html.Telerik.Grid(Model).Name("ServicesGridView").Datakeys( _ Function(datakey) datakey.Add(Function(c) c.ServiceGroupId) _ ).DataBinding(Function(dataBinding) _ dataBinding.Server.Update("ServicesGroupsEdit","Settings")).Columns( _ Function(columns) {columns.Bound(Function(c) c.ServiceGroupId).Hidden(True), _ columns.Bound(Function(c) c.ServiceGroupName), _ columns.Bound(Function(c) c.ServiceGroupDescription).Title("Group Description"), _ columns.Template(Function(c) c.ServiceInfoList.ForEach(Function(l) l.Name & "[" & l.ServiceMenuId & "]")), _ columns.Command( _ Function(commands) commands.Edit().ButtonType(GridButtonType.Image))})The ForEach loop gives me an error of "Expression does not produce a value." Any help with this would be greatly appreciated.