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'.
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'.
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.
Hey Kenneth,
can you please mark your response as answer?
Cheers!
Thank you!
is working on a reply...