Line 137: Line 138: siteHeader = (header)LoadControl("/_include/header.ascx");Line 139: this.Controls.AddAt(0, siteHeader);Line 140: base.OnInit(e); //detail-seite ladenLine 141: siteFooter = (footer)LoadControl("/_include/footer.ascx");
[HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).] System.Web.UI.ControlCollection.AddAt(Int32 index, Control child) +354 bla4._include.BasePage.OnInit(EventArgs e) in \\myserver\bla4\_include\BasePage.cs:139 System.Web.UI.Control.InitRecursive(Control namingContainer) +241 System.Web.UI.Page.ProcessRequestMain() +174