I have just done a fresh install of Umbraco with the Runway business template.
When I go into Canvas mode, the layout is broken. I have spent a few hours trying to track down the culprit and have only found that the problem must lie within the LiveEditingToolbar control or the LiveEditingManager.
There is an extra closing tag being thrown in just before the opening tag of the OutputWrapper and right after what should be the closing tag of the div with the ID of LiveEditingToolbar.
I have used Reflector to disassemble the Umbraco.dll to see what might be going on. I really didn't see anything that would be wrong except possibly during the render event of the LiveEditingToolbar control. Is it possible that this is rendering two closing div tags?
Normally when I write server controls like this one I would inherit from CompositeControl and override the TagKey property so that I don't have to manually write the beginning and ending tags like this, so I am unfamiliar with any pitfalls it may have.
I am unable to find any other place the error may be because the markup that is rendered in this portion of the output is only rendered when in Canvas mode and only rendered as part of the markup that is injected inside the ContentPlaceHolder Control by the LiveEditingManager after all of the other content inside it.
Canvas Editing Breaks UI
I have just done a fresh install of Umbraco with the Runway business template.
When I go into Canvas mode, the layout is broken. I have spent a few hours trying to track down the culprit and have only found that the problem must lie within the LiveEditingToolbar control or the LiveEditingManager.
There is an extra closing tag being thrown in just before the opening tag of the OutputWrapper and right after what should be the closing tag of the div with the ID of LiveEditingToolbar.
I have used Reflector to disassemble the Umbraco.dll to see what might be going on. I really didn't see anything that would be wrong except possibly during the render event of the LiveEditingToolbar control. Is it possible that this is rendering two closing div tags?
writer.AddAttribute(HtmlTextWriterAttribute.Id, "LiveEditingToolbar"); writer.AddAttribute(HtmlTextWriterAttribute.Title, "Umbraco Live Editing Toolbar"); writer.RenderBeginTag(HtmlTextWriterTag.Div);
base.Render(writer);
writer.RenderEndTag();
Normally when I write server controls like this one I would inherit from CompositeControl and override the TagKey property so that I don't have to manually write the beginning and ending tags like this, so I am unfamiliar with any pitfalls it may have.
I am unable to find any other place the error may be because the markup that is rendered in this portion of the output is only rendered when in Canvas mode and only rendered as part of the markup that is injected inside the ContentPlaceHolder Control by the LiveEditingManager after all of the other content inside it.
Has anyone else noticed this problem?
is working on a reply...