Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Sherry Ann Hernandez 320 posts 344 karma points
    Aug 09, 2011 @ 08:35
    Sherry Ann Hernandez
    0

    using client dependency on my website gives an errror of control collection cannot be modified

    Hi,

    Does anyone encountered or familiar with this error?

    [HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).]
       System.Web.UI.ControlCollection.Add(Control child) +11328292
       ClientDependency.Core.FileRegistration.Providers.PageHeaderProvider.RegisterDependencies(Control dependantControl, String js, String css) +274
       System.Collections.Generic.List`1.ForEach(Action`1 action) +64
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201

    I'm trying to use the clientdependency on my pages. Also, when I try to update my client dependency version to 1.4 Beta I'm getting a javascript error on the back office.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies