More in this section

Forums / Developing with Sitefinity / ShowMainCheckBox ?

ShowMainCheckBox ?

2 posts, 1 answered
  1. mathieu cupryk
    mathieu cupryk avatar
    9 posts
    Registered:
    20 Jul 2012
    13 Aug 2009
    Link to this post

    When I try to remove the following:

     

     

    <asp:CheckBox ID="ShowMainCheckBox" runat="server" />

     

     

     

     

     

    <asp:Label ID="ShowMainLiteral" AssociatedControlID="ShowMainCheckBox" runat="server" Text="<%$ Resources:ShowMain %>" />

     

    A required control was not found in the template for "~/Sitefinity/Admin/ControlTemplates/Personalization/DashboardSettings.ascx". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "ShowMainCheckBox".

    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: Telerik.Cms.Web.UI.TemplateException: A required control was not found in the template for "~/Sitefinity/Admin/ControlTemplates/Personalization/DashboardSettings.ascx". The control must be assignable form type "System.Web.UI.WebControls.WebControl" and must have ID "ShowMainCheckBox".

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    15 Aug 2009
    Link to this post
    Hello mathieu cupryk,

    The control is required for DashboardSetting template. It is internally set and cannot be removed.

    Best wishes,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
    Answered
2 posts, 1 answered