Wednesday, July 2, 2008

Sys.InvalidOperationException: ScriptLoader.loadScripts cannot be called while the ScriptLoader is already loading scripts

If you are using ASP.NET AJAX extensively, it is inevitable to have the JavaScript error: ScriptLoader.loadScripts cannot be called while the ScriptLoader is already loading scripts. We got this error for some pages that have grid and you sort quickly the result displayed.

One of the workarounds for this is to put the below code in your ASPX page:








For more information you can check below link:
http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=14712

2 comments:

Anonymous said...

Worked like a charm, thank you!!!!

Anonymous said...

Works fine but kind of slow. Did it happen to anyone else?