Forums

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Bugs & Issues > A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "dataRepeater".

A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "dataRepeater".

  • Sharyn en avatar

    Posted on Feb 24, 2010 (permalink)

    Exception Details: Telerik.Cms.Web.UI.TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "dataRepeater".

    [TemplateException: A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "dataRepeater".]
       Telerik.Cms.Web.UI.GenericContainer.ThrowException(Type requiredType, String controlId) +58
       Telerik.Cms.Web.UI.GenericContainer`1.FindControl(Type requiredType, String id, Boolean required) +76
       Telerik.Cms.Web.UI.GenericContainer`1.FindRequiredControl(String id) +68
       Sitefinity_Pluggable_Module1.WebControls.PublicControlContainer.get_DataRepeater() in C:\Users\Sharyn\Documents\Visual Studio 2008\Projects\Sitefinity Pluggable Module1\WebControls\PublicControl.cs:104
       Sitefinity_Pluggable_Module1.WebControls.PublicControl.CreateChildControls() in C:\Users\Sharyn\Documents\Visual Studio 2008\Projects\Sitefinity Pluggable Module1\WebControls\PublicControl.cs:65
       System.Web.UI.Control.EnsureChildControls() +87
       System.Web.UI.Control.PreRenderRecursiveInternal() +44
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Control.PreRenderRecursiveInternal() +171
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
    
    As above, I got this error message when I was trying to add the pluggable module to the page..

    how to solve this problem? any idea

    thanks ...

    Reply

  • Ivan Dimitrov Ivan Dimitrov admin's avatar

    Posted on Feb 24, 2010 (permalink)

    Hello Sharyn en,

    The control of type Repeater cannot be found in ~/Sitefinity/ControlTemplates/$moduleSafeName$/SamplePublicControl.ascx"; The control is required and it is used in PublicControl.cs. Once again I suggest that you should use the new backend architecture that comes with Sitefinity 3.6

    Regards,
    Ivan Dimitrov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.

    Reply

Skip Navigation LinksHome / Developer Network / Forums / Sitefinity 3.x: Bugs & Issues > A required control was not found in the template for "". The control must be assignable form type "System.Web.UI.WebControls.Repeater" and must have ID "dataRepeater".