Top "Editortemplates" questions

How to create custom editor/display templates in ASP.NET MVC 3?

I would like to make custom editor templates for different data types in ASP.NET MVC (to use with Html.…

asp.net-mvc-3 templates editortemplates
ASP.NET MVC 3 - Partial vs Display Template vs Editor Template

So, the title should speak for itself. To create re-usable components in ASP.NET MVC, we have 3 options (could be …

asp.net-mvc asp.net-mvc-3 razor asp.net-mvc-partialview editortemplates
ASP.Net MVC 3 EditorTemplate for DateTime Fields Error

This code was converted from some ASP.Net MVC 2 code in this tutorial: MVC 2 Editor Template with DateTime It is …

asp.net-mvc-3 razor partial-views editortemplates
IEnumerable model property in an ASP.NET MVC 3 Editor Template

I have a model which has an IEnumerable property (warning pseudo-code to follow) public class PersonModel { public string Name { get; …

asp.net-mvc-3 ienumerable editortemplates mvc-editor-templates
Problem with MVC EditorFor named template

I have what appears (to me anyway) to be a strange problem... I created a simple editor template for a …

asp.net-mvc-3 razor editortemplates
Returning an EditorTemplate as a PartialView in an Action Result

I have a model similar to this: public class myModel { public ClassA ObjectA {get; set;} public ClassB ObjectB {get; set;} } …

c# asp.net-mvc-2 partial-views editortemplates
ASP.NET MVC 2 - Html.EditorFor a nullable type?

I have two editor templates: one for decimal, and one for decimal? (nullable) But when I have a nullable decimal …

c# asp.net-mvc asp.net-mvc-2 mvc-editor-templates editortemplates
Editor Templates for List<string>

I am looking to create a generic editor for some basic models in my ASP.NET MVC3 site. Now they …

asp.net-mvc asp.net-mvc-3 c#-4.0 editortemplates
ASP.Net MVC 3 - Client side unobtrusive validation for Editor Templates

I am new to ASP.Net MVC 3, facing some issues while trying to implementing client side unobtrusive validation for a …

asp.net-mvc-3 data-annotations editortemplates unobtrusive-validation
MVC 3 - Editor template for List<> Model

I am building my first Razor app and really loving it. I am trying to get the low-down on how …

asp.net-mvc-3 list razor editortemplates