Hi kids.
Is it possible to render a partial view in a macro?
When I try
@Html.Partial("_PARTIAL-ALIAS")
I get this error
“Cannot bind source type Umbraco.Web.Models.PartialViewMacroModel to model type Umbraco.Web.Models.RenderModel.”
@Umbraco.Field("_search-form")
This doesn’t render the content.
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/82376-rendering-partial-view-in-macro