Top "Mvc-editor-templates" questions

ASP.

Add event to all buttons of the same class with jQuery

This might be easy but I've searched SO and tried some suggestions for this none of which work. I'm using …

jquery jquery-selectors mvc-editor-templates
Update Kendo grid with editor dropdownlist value

I have a Kendo grid set up like so: @(Html.Kendo().Grid<ParticipatingDentalEE>() .Name("DentalEE") .Columns(columns => { …

asp.net-mvc razor drop-down-menu kendo-grid mvc-editor-templates
ASP.NET MVC: Using EditorFor() with a default template for enums

I've written an EnumDropDownFor() helper which I want to use in conjunction with EditorFor(). I've only just started using EditorFor() …

asp.net-mvc asp.net-mvc-3 editorfor mvc-editor-templates
DatePicker Editor Template

Below is an EditorTemplate that renders a Bootstrap datetimepicker with EditorFor helpers, the problem I am seeing is with the …

asp.net-mvc asp.net-mvc-4 mvc-editor-templates bootstrap-datetimepicker
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
Passing extra data to EditorTemplate

Lets say I have a LineItem (from the over used Shopping Cart example) and I want to render it using …

asp.net-mvc asp.net-mvc-3 razor mvc-editor-templates
MVC3 EditorTemplate for a nullable boolean using RadioButtons

I have a property on one of my objects that is a nullable boolean, I want my logic to have …

asp.net-mvc asp.net-mvc-3 mvc-editor-templates
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 Template LabelFor - display value rather than name

The below correctly renders a label and textbox for each item added to the list instantiated in the controller. What …

asp.net-mvc razor mvc-editor-templates
How to make a default editor template for enums?

How can I make a default editor template for enums? By which I mean: can I do something like this: &…

asp.net asp.net-mvc enums mvc-editor-templates