UIHint not using EditorTemplate
问题 I have a model like this: public class MyModel { [ScaffoldColumn(false)] public int CharityId { get; set; } [UIHint("Charities")] public SelectList Charities { get; set; } } Then I have an EditorTemplate called Charities.cshtml: @model MyModel @Html.DropDownListFor(model => model.CharityId, Model.Charities) Then in my page: @model MyModel @Html.EditorForModel() However, no matter what, it doesn't render the Charities template. I've been wracking my brain on this, and it should work.. but it's