matt
-
12/14/2006 6:03:33 PM
Custom web part errors in CMS Desk Design Tab
I have created a simple web part based on the examples in the CMS Developer's Guide.
The page on the site loads fine. The Page, Form and Properties tabs load fine in CMS Desk. The Design tab throws the following error. Anyone seen this?
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.
[HttpException (0x80004005): The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.] System.Web.UI.ControlCollection.RemoveAt(Int32 index) +2059975 System.Web.UI.ControlCollection.Clear() +25 CMS.PortalControls.CMSAbstractWebPart.CreateChildControls() +83 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.FindControl(String id, Int32 pathOffset) +21 System.Web.UI.Control.FindControl(String id) +9 System.Web.UI.WebControls.DataBoundControlHelper.FindControl(Control control, String controlID) +68 System.Web.UI.WebControls.DataBoundControl.GetDataSource() +1819285 System.Web.UI.WebControls.DataBoundControl.ConnectToDataSourceView() +34 System.Web.UI.WebControls.DataBoundControl.OnLoad(EventArgs e) +16 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
|