Copied to clipboard

Flag this post as spam?

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


  • Kenneth Solberg 222 posts 412 karma points
    Feb 09, 2016 @ 12:12
    Kenneth Solberg
    0

    Error when i check Render in the grid

    Umbraco: 7.3.7 LeBlender: 1.0.8.3 Both installed with nuget.

    Added a new grid editor using LeBlender editor, adds two properties of type Textarea and Textbox.

    Also added view in /Views/Partials/Grid/Editors/myalias.cshtml

    When adding a control of this type to the grid I get:

    Console: /umbraco/backoffice/leblender/Helper/GetPartialViewResultAsHtmlForEditor 500 (Internal Server Error)

    In logfile: System.InvalidOperationException: The model item passed into the dictionary is of type 'Newtonsoft.Json.Linq.JObject', but this dictionary requires a model item of type 'Umbraco.Web.Models.RenderModel'.

  • Kenneth Solberg 222 posts 412 karma points
    Feb 09, 2016 @ 14:43
    Kenneth Solberg
    101

    The cause of this problem was a _ViewStart.cshtml with a layout specified. Removed it, and assigned layout on each view to solve the problem.

  • Cristhian Amaya 52 posts 413 karma points
    Feb 24, 2016 @ 17:27
    Cristhian Amaya
    0

    Hey Kenneth,

    can you please mark your response as answer?

    Cheers!

  • Dmitry Artux 9 posts 29 karma points
    Feb 25, 2016 @ 14:39
    Dmitry Artux
    0

    Thank you!

Please Sign in or register to post replies

Write your reply to:

Draft