I'm getting a weird error on a page I built that uses some Ajax controls. When I run in debug it stops and VS gives the error "Microsoft JScript runtime error: 'Sys.Application' is null or not an object" and highlights a line in a dynamically created file called ScriptResource.axd. The line it highlights is:
Code:
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
The page runs fine and the Ajax controls all work but I get that little yellow exclamation point in the lower left corner of the browser when the page loads.
The page is a form whose results get written to a database and emailed. See http://goo.gl/Pf6GQ for the page in question. On load, I am clearing the "Content" control and replacing it with my .ascx file. Is there some incompatibility with ASPDNSF and Ajax or could this error be caused by something else?