Overriding default ASP.Net MVC scaffolding HTML -
each time use visual studio generate display-template using scaffolding this:
<fieldset> ... <div class="display-label">property</div> <div class="display-field">@model.property</div> ... </fieldset>
is there way change template use html definition list instead?
<dl> ... <dt>property</dt> <dd>@model.property</dd> ... </dl>
i know use displaytemplates, want generated code default in projects.
take @ following post: http://weblogs.asp.net/scottgu/archive/2009/01/27/asp-net-mvc-1-0-release-candidate-now-available.aspx. describes customizing templates. while written mvc 1 still applies
Comments
Post a Comment