title: ASP.NET MVC 3 Reusable Table Display Template with Razor
body: <p>Is there a good way for creating a tabular display template in ASP.NET MVC3 with the new Razor syntax?</p>
  
  <p>In ASP.NET MVC 2 Phil Haack was blogging about <a href="http://haacked.com/archive/2010/05/05/asp-net-mvc-tabular-display-template.aspx" rel="nofollow noreferrer">tabular display templates</a>.
  Is there a better approach in ASP.NET MVC3?</p>
  
  <p>EDIT:</p>
  
  <p>Is it also possible to render the grid on the basis of the <strong>model meta data</strong>? So I do not want to manually define the columns with the WebGrid API but with <strong>model meta data</strong>. The problem I see is that you everytime have to define the table by hand using the WebGrid API. I want to have the possibility to have one kind of table that is <strong>reusable</strong>!</p>
  
  <p>Edit:
  So is there any good practice for creating grids using model meta data?</p>