+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / A required control was not found in the template

A required control was not found in the template

2 posts, 0 answered
  1. May
    May avatar
    36 posts
    Registered:
    12 Apr 2007
    26 Nov 2007
    Link to this post
    We use Standar Sitefinity 3.1 SP1 and followed all the installation and update instructions. When I clicked the pages link,  there is follwing error:

    A required control was not found in the template for "Telerik.Cms.Web.UI.PagePermissionsPanel+LayoutContainer". The control must be assignable form type "Telerik.Cms.Web.UI.PermissionSet" and must have ID "PermissionSet1".

    Any suggestions?

    Thanks in advance!

    Amy

    A required control was not found in the template for "Telerik.Cms.Web.UI.PagePermissionsPanel+LayoutContainer". The control must be assignable form type "Telerik.Cms.Web.UI.PermissionSet" and must have ID "PermissionSet1".

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Web.HttpException: A required control was not found in the template for "Telerik.Cms.Web.UI.PagePermissionsPanel+LayoutContainer". The control must be assignable form type "Telerik.Cms.Web.UI.PermissionSet" and must have ID "PermissionSet1".

    Source Error:

    Line 54: 			else
    Line 55: 			{
    Line 56: 				this.pageEditor.Select(Guid.Empty);
    Line 57: 				this.siteMap.SelectedPageID = Guid.Empty;
    Line 58: 			}

    Source File: s:\Source Code\Steemer-Online\Sitefinity\Admin\Pages.aspx.cs    Line: 56

    Stack Trace:

    [HttpException (0x80004005): A required control was not found in the template for "Telerik.Cms.Web.UI.PagePermissionsPanel+LayoutContainer". The control must be assignable form type "Telerik.Cms.Web.UI.PermissionSet" and must have ID "PermissionSet1".]
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +234
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +66
       Telerik.Cms.Web.UI.LayoutContainer.get_PermSet() +35
       Telerik.Cms.Web.UI.PagePermissionsPanel.CreateChildControls() +214
       System.Web.UI.Control.EnsureChildControls() +87
       Telerik.Cms.Web.UI.PagePermissionsPanel.Select(ISecured sec) +18
       Telerik.Cms.Web.UI.PageEditor.OnRootSelected(PageSelectedEventArgs args) +223
       Telerik.Cms.Web.UI.PageEditorBase.SelectRoot() +118
       Telerik.Cms.Web.UI.PageEditorBase.Select(Guid pageId) +89
       Admin_Pages.Page_Load(Object sender, EventArgs e) in s:\Source Code\Steemer-Online\Sitefinity\Admin\Pages.aspx.cs:56
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       Telerik.Cms.Web.AdminPage.OnLoad(EventArgs e) +16
       Admin_Pages.OnLoad(EventArgs e) in s:\Source Code\Steemer-Online\Sitefinity\Admin\Pages.aspx.cs:34
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
    
  2. Vassil Daskalov
    Vassil Daskalov avatar
    261 posts
    Registered:
    18 May 2013
    26 Nov 2007
    Link to this post
    Hello May,

    It seems that for some reason the permissions set control is missing from the pages permissions template. Or you are using template different than the default one. To be sure you are using the right one add the following attribute to the <cms> node of the web.config file:

    pagePermissionsTemplate="~/Sitefinity/Admin/ControlTemplates/Pages/PagePermissions.ascx" 

    After that, check that the PagePermissions.ascx file located under ~/Sitefinity/Admin/ControlTemplates contains a PermissionsSet control with this ID: PermissionSet1. If this is not the case I have attached the default template which you should override with the previous one.

    Sincerely yours,
    Vassil Daskalov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
2 posts, 0 answered