Move Html.DropDownListFor into EditorTemplate
问题 Trying to create an editor template using a dropdownlist in MVC4. I can get the dropdownlistfor to work directly in the view as such: @Html.DropDownListFor(model => model.Item.OwnerId, new SelectList(Model.DDLOptions.CustomerOptions, "Value", "DisplayText")) But then to "generify" it and put it into an editor template, I cannot get it to work. Here is what I am trying in my EditorTemplate partial: @Html.DropDownListFor(model => model, new SelectList(Model.DDLOptions.CustomerOptions, "Value",