I am having problems with an intermitent error in an ASP.Net Ajax enabled website. The error I am receiving is the old faithful “Microsoft JScript runtime error: ‘Sys’ is undefined” error. Googling this error usually turns up the suggestion to add the correct “httpHandlers” and “httpModules” into the “web.Config” file. The web.config …
via Asp.Net Developed Tutorials » Search Results » ajax:
Microsoft JScript runtime error: ‘Sys’ is undefined
I am having problems with an intermitent error in an ASP.Net Ajax enabled website. The error I am receiving is the old faithful “Microsoft JScript runtime error: ‘Sys’ is undefined” error. Googling this error usually turns up the suggestion to add the correct “httpHandlers” and “httpModules” into the “web.Config” file. The web.config file for this project already has the following lines for those two sections. See below:
BTW, we are using Telerik ajax controls on the page. One of our custom JavaScripts does render before the scriptmanager. ahve tried using both “RadScriptManager1.RegisterClientScriptBlock(…)” and “ClientScript.RegisterClientScriptBlock(…)” but both seem to render the script block above the “Sys.WebForms.PageRequestManager._initialize(…)” line.
Any help apprecuiated. Thanks in advance, Best regards, Duane.
…………………………………..
instead of
Sys.WebForms.PageRequestManager._initialize(…)do
$(document).ready(function()
Sys.WebForms.PageRequestManager._initialize(…)
);(yes, jquery)
For more info: Microsoft JScript runtime error: ‘Sys’ is undefined
Asp.Net Developed Tutorials » Search Results » ajax