Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Issue: Error at runtime for the new (May 2012) release [27146]

$
0
0
I get the following error at runtime after simply putting a control on a page:

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

I've attached a screen shot. For some reason it's looking for a file in c:\Users\Stephen directory even though there has never been a Stephen to log on to my machine.

Comments: Hey, I also found the same problem when I downloaded toolkit via NuGet. I found the below error while using HTMLEditor: [HttpException (0x80004005): The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).] System.Web.UI.ControlCollection.Add(Control child) +8756775 AjaxControlToolkit.ScriptObjectBuilder.RegisterCssReferences(Control control) in C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ExtenderBase\ScriptObjectBuilder.cs:323 AjaxControlToolkit.ScriptControlBase.OnLoad(EventArgs e) in C:\Users\Stephen\Documents\Repos\Superexpert\AjaxControlToolkit\Server\AjaxControlToolkit\ExtenderBase\ScriptControlBase.cs:262 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Control.LoadRecursive() +146 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207 C:\Users\Stephen\Documents\Repos My user name is not Stephan. This is the user who published the AjaxcontrolToolkit & uploaded at NuGet to download. Hey Stephan, can you please fix the issue.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>