Is it possible to call a partial view from a leblender editor?
@inherits UmbracoViewPage
@Html.Partial("myPartial")
When I try this I get:
The model item passed into the dictionary is of type 'Lecoati.LeBlender.Extension.Models.LeBlenderModel', but this dictionary requires a model item of type 'Umbraco.Web.Models.RenderModel'.
Calling a partial view from grid editor
Is it possible to call a partial view from a leblender editor?
@inherits UmbracoViewPage
@Html.Partial("myPartial")
When I try this I get: The model item passed into the dictionary is of type 'Lecoati.LeBlender.Extension.Models.LeBlenderModel', but this dictionary requires a model item of type 'Umbraco.Web.Models.RenderModel'.
Hi Michael,
Did you try to pass your implicit model on this way:
@Html.Partial("ChildItem", your model)
is working on a reply...