Top "Asp.net-mvc-templates" questions

Topics related to creating and customizing and styling Asp.

Formatting currency using display template in MVC

I found this post about Display and EditorTemplates for MVC: http://www.growingwiththeweb.com/2012/12/aspnet-mvc-display-and-editor-templates.html It creates a display …

asp.net-mvc model-view-controller mvc-editor-templates asp.net-mvc-templates
ASP.NET MVC 3 Razor Templates VS RenderPartial

I just read this blog post on Razor Templating in ASP.NET MVC 3. Put simply, i just dont get it! …

asp.net-mvc asp.net-mvc-3 razor asp.net-mvc-templates
MVC template from folder other than default (EditorTemplates/DisplayTemplates)?

Can you point MVC to a folder other than the default ones (Views/Shared/EditorTemplates & Views/Shared/DisplayTemplates)? I'd …

asp.net-mvc asp.net-mvc-3 asp.net-mvc-templates
Adding HtmlAttributes to template

If I am passing HtmlAttributes into a template, like this: @Html.DisplayFor(m => m.FirstName, new { htmlAttributes = new { @class = "…

asp.net-mvc-3 razor html-helper asp.net-mvc-templates