When I'm trying to add grid editors of type LeBlender to the grid I get these strings "application name" and " (c)2018 - My ASP.NET Application" on top of the page and below each of the grid editors. This is causing the backoffice of Umbraco to slightly crash as well.
The grid editors have been working before, and I've not been doing any changes to them for a while either. The Umbraco and LeBlender version has also remained untouched since the last time I verified them working.
Any ideas to what might cause this or where I should start looking first?
I'd start by checking your views. That looks like default code which normally comes from a rogue _Layout file in a "shared" folder.
Things to check for:
ViewStart.cshtml
You're partial view referencing a layout
Oddities in your layout file.
As a reference - If you use the menu options in Visual Studio to create views/partials, sometimes it can decide to create these views if they are missing (it's happened to be on several occasions).
Grid Editor "crashing" Backoffice
Hello Good People,
When I'm trying to add grid editors of type LeBlender to the grid I get these strings "application name" and " (c)2018 - My ASP.NET Application" on top of the page and below each of the grid editors. This is causing the backoffice of Umbraco to slightly crash as well.
The grid editors have been working before, and I've not been doing any changes to them for a while either. The Umbraco and LeBlender version has also remained untouched since the last time I verified them working.
Any ideas to what might cause this or where I should start looking first?
Hi Thomas,
I'd start by checking your views. That looks like default code which normally comes from a rogue _Layout file in a "shared" folder.
Things to check for:
As a reference - If you use the menu options in Visual Studio to create views/partials, sometimes it can decide to create these views if they are missing (it's happened to be on several occasions).
Cheers,
Nik
Hello Nik,
Thank you very much for your quick response.
Solution was spot on. I had a _ViewStart file in my main views folder.
is working on a reply...