Areas and @Html.DisplayFor()

The @Html.DisplayFor(x => product ) function does not fetch our views from the Area folder but alway from the View root, is there a way to change this?

Edit: Ok this seam to be a problem unrelated to Litium, you can delete this one.

Litium version: 7.1

Not sure if you can add an custom ViewEngine that can help out and pick the files from the correct area.

Example https://stackoverflow.com/questions/632964/can-i-specify-a-custom-location-to-search-for-views-in-asp-net-mvc

1 Like