Top "Editorfor" questions

jQuery DatePicker MVC4 EditorFor

I need to use datepicker on an EditorFor field. My code for the view is: <div class="editor-label"> @…

asp.net-mvc-4 jquery-ui-datepicker editorfor
make Html.Editorfor field readonly in mvc3

I am using this, an editor template (located in the Shared\EditorTemplates folder in my solution) <%@ Page Language="C#" …

asp.net-mvc-3 editorfor
Input with date format set from ViewModel and html class attribute

I am working with razor view engine in asp.net mvc3. Now, I need an input for a DateTime which …

asp.net-mvc-3 razor editorfor date-formatting
Displaying the Value of a ViewBag in the EditorFor() method of a View using ASP.NET MVC

It is possibly a mistake in my syntax, but I have been unable to set a default value for my …

c# asp.net asp.net-mvc razor editorfor
EditorFor collection of items in my model

My ViewModel has a property that is a collection of another of my model entities, in this case CategoryTags (and …

asp.net-mvc-3 viewmodel editorfor
@Html.EditorFor(m => m) lambda syntax in MVC

I'm just learning C# and MVC, and trying to understand some examples. @Html.EditorFor(m => m) Eventually I figured …

c# razor lambda extension-methods editorfor
Using HTML.EditorFor Vs using HTML.CheckBox

I have the following model class which contains a bool value:- Public class Server { public bool IsIPUnique { get; set; } } …

asp.net-mvc asp.net-mvc-5 editorfor
Rendering the field name in an EditorTemplate (rendered through EditorFor())

I'm currently building the Admin back-end for a website in ASP.NET MVC. In an ASP.NET MVC application, I've …

asp.net-mvc asp.net-mvc-2 partial-views editorfor
EditorFor ignores tabindex. How do you set a tabindex?

The use of tabindex seems to only work for htmlhelpers like Textboxfor and not EditorFor For example; <%: Html.TextBoxFor(…

asp.net-mvc asp.net-mvc-2 html-helper tabindex editorfor
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