1

I have an area in my mvc project and this area has some display templates. If I use @Html.DisplayFor(x => Model.Image) I want to use the display template from my are for the Image. How can I configure my view engine so it also looks inside my area for the specific partial view?

marcus
  • 9,616
  • 9
  • 58
  • 108

1 Answers1

0

You can create your view at Areas/AreaName/Views/Shared/DisplayTemplates/MyImage.cshtml

archil
  • 39,013
  • 7
  • 65
  • 82