Jump to content
Software FX Community

The Controls collection cannot be modified because the control contains code blocks


DustinW
 Share

Recommended Posts

I installed ChartFX on a test machine, did the updates and now I'm continually getting this error no matter what settings I select.  Did I miss an update somewhere? Any help would be appricated.

 

Here is the error:

 

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

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: System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).]   System.Web.UI.ControlCollection.Add(Control child) +11013946   ChartFX.WebForms.ad.a() +322   ChartFX.WebForms.ad.b(Control A_0) +184   ChartFX.WebForms.n.a() +117   ChartFX.WebForms.Chart.OnPreRender(EventArgs e) +68   System.Web.UI.Control.PreRenderRecursiveInternal() +108   System.Web.UI.Control.PreRenderRecursiveInternal() +224   System.Web.UI.Control.PreRenderRecursiveInternal() +224   System.Web.UI.Control.PreRenderRecursiveInternal() +224   System.Web.UI.Control.PreRenderRecursiveInternal() +224   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...