I am developing a Web Application using WebForms with ASP.NET. Using a ScriptManager, I am loading a custom javascript script file.
When I view the page in browser, I do not get the intended action (display a timer) and "view source" on the page gives me the following error message:
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
In my attempts to troubleshoot, I have used the same javascript file in an ASP.NET Website and it works fine. It only seems to happen with a Web Application. I've also added an alert into my javascript file, which works fine on both Website and Web Application.