Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Michael Sims 119 posts 387 karma points
    Jul 01, 2015 @ 09:31
    Michael Sims

    Calling a partial view from grid editor

    Is it possible to call a partial view from a leblender editor?

    @inherits UmbracoViewPage


    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'.

  • Antoine 176 posts 1494 karma points
    Jul 01, 2015 @ 17:50

    Hi Michael,

    Did you try to pass your implicit model on this way:

    @Html.Partial("ChildItem", your model)

Please Sign in or register to post replies

Write your reply to: