I'm trying to have the page editor functionality working on my sitecore 7. I created a user control and I'm getting this error "buttonRoot isn't set for edit frame"
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="BodyText.ascx.cs" Inherits="Website.layouts.Sublayouts.Page_Sublayouts.BodyText" %>
<%@ Register TagPrefix="sc" Namespace="Sitecore.Web.UI.WebControls" Assembly="Sitecore.Kernel" %>
<sc:EditFrame ID="EditField" runat="server" Buttons="/sitecore/content/Applications/WebEdit/Edit Frame Buttons/Default">
<sc:FieldRenderer runat="server" ID="fldMainContent" FieldName="Body Text" />
</sc:EditFrame>
Does anyone knows what I'm missing?
Cheers and thanks in advance
Basically, this exception could occur due to different reasons.
Please check following:
(The item should be located under the "/sitecore/content/Applications/WebEdit/Edit Frame Buttons" item).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With