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

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -