title: Telerik MVC Grid: Collection Inside Column
body: <p>I am using Telerik's MVC Grid in my project which really is good. Unfortunately I am stuck at last.. The problem is that I want to show a collection inside a column. The collection is a property of my user model. Here is the sample code:</p>
  
  <pre><code>{...}    
      .Columns(columns =&gt;
      {
          columns.Bound(u =&gt; u.Id).Title("No.").Width(100);
          columns.Bound(u =&gt; u.UserName).Title("User Name");
          columns.Bound(u =&gt; u.CompanyName).Title("Company Adı");
          columns.Template(u =&gt;
              {
                  foreach(var item in u.Roles)
                  {
  
                  }
              }).Title("Roller");
          columns.Command(commands =&gt; 
              {                    
                  commands.Custom("viewDetails")
                  .Text("Detail")
                  .DataRouteValues(route =&gt; route.Add(o =&gt; o.Id).RouteKey("UserAccountId"))
                  .Ajax(false)
                  .Action("UserAccountRead", "Account");
                  commands.Delete().ButtonType(GridButtonType.ImageAndText);
              })
          .Width(200);
      })
      .Sortable()
      .Pageable(paging =&gt; paging.PageSize(10))
      .Localizable("en-EN")
      ) 
  {...}
  </code></pre>
  
  <p>In the foreach loop I've tried many things to display user roles, but haven't succeed.</p>
  
  <pre><code>@item.Name
  I Got : Error: Only assignment, call, increment, decrement and new object expressions can be used as a statement
  
  @:&lt;text&gt;@item.Name&lt;/text&gt;
  I Got: ; required
  </code></pre>
  
  <p>And so on... What should I write as a statement for just making the column to show user roles?</p>