This question is locked. New answers and comments are not allowed.
I want to display multiple field into Single Column in Telerik MVC grid. How can i achieve?
Reason I want it like this is because I am using fields seperately in controller. Only for purpose of UI I need them like this.
I think I use something like this, but I can't make it work with Razor view.
columns.Bound(o => o.Field1).Template(o=> { @o.Field1 @o.Field2 }).Width(200);
Here is what I have: .Columns(columns => { columns.Bound(o => o.Field1).Width(200); columns.Bound(o => o.Field2).Width(200); columns.Bound(o => o.Field3).Width(200); columns.Bound(o => o.Field4).Width(200); }) Here is what I want: .Columns(columns => { columns.Bound(o => o.Field1 + o.Field2).Width(400); columns.Bound(o => o.Field3 + o.Field4).Width(400); }) Reason I want it like this is because I am using fields seperately in controller. Only for purpose of UI I need them like this.
I think I use something like this, but I can't make it work with Razor view.
columns.Bound(o => o.Field1).Template(o=> { @o.Field1 @o.Field2 }).Width(200);