Top "Mvc-editor-templates" questions

ASP.

Making my own HtmlHelper extension for input that works with model binding

I am unhappy with the current DropDownList implementation, because I can't really do much with the option tags (only selected, …

asp.net-mvc html-helper mvc-editor-templates
Asp.Net MVC3 Razor - child items list not posting back from editor

I'm trying to create a multi-level editor in MVC3. By multi-level I mean that I would like to be able …

asp.net-mvc-3 razor mvc-editor-templates
ASP.NET MVC - Pass outer model to editor template

I'm using custom editor templates for most of my forms, but while attempting to use them to render a custom …

asp.net .net asp.net-mvc razor mvc-editor-templates
Returning an EditorTemplate as a Partial View from a Controller

I would like to return an EditorTemplate from my controller as a Partial View. I am currently doing: public ActionResult …

.net asp.net-mvc asp.net-mvc-3 mvc-editor-templates
ASP.NET MVC 4 - EditorTemplate for nested collections

I have the following model classes (classes simplifies for the purpose of this question): public class Lesson { public Guid Id {…

asp.net-mvc-4 mvc-editor-templates
difference between: [ScaffoldColumn (false)] and [Display (AutoGenerateField = false)]

To render HTML in my edit view, I use the helper @Html.EditorForModel(). My model: [Required(ErrorMessage = "Campo obrigatório")] […

asp.net-mvc-3 razor data-annotations scaffolding mvc-editor-templates
ASP.NET MVC editor template for property

Usually I render my forms by @Html.RenderModel, but this time I have a complex rendering logic and I render …

.net asp.net-mvc mvc-editor-templates
Kendo UI grids with dropdown editor templates edit issue

I have a grid with two drop-down list columns which are mapped with Editor Templates in a razor page. All …

kendo-grid edit mvc-editor-templates dropdownlistfor