Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Umbraco Land!
I was mocking up a LeBlender build today for my company to see if I could circumvent dealing with too much AngularJSfor developing Custom Grid Editors.
I get a curious thing that keeps happening where anything I apply to a Custom Grid Editor will override the Backoffice style to Bootstrap.
I will provide code and screenshots for anyone willing to poke at this.. The same happens with a simple Textstring property also.
Layout = "";
var image = Model.Items.ElementAt(0);
var imageUrl = Umbraco.TypedMedia(image.GetValue<string>("image")).Url;
<img src="@imageUrl" />
Before uploading an Image:
After uploading an Image:
I figured this out in the end. All it was is, _ViewStart.cshtml is indexing _Layout.cshtml as its Master Template as standard. I imagine this has something to do with the way Umbraco Visual Studio solutions are built.
Simply setting Layout = null; in _Layout.cshtml fixes this issue.
Layout = null;
All the best,
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted