You can't turn back the clock. But you can wind it up again.

'Sys' is Undefined in ASP.NET AJAX

Posted in   Development

A project that I was updating recently didn't start out its life as an ASP.NET AJAX enabled application so it was being upgraded to take advantage of some of the features and controls available in the AjaxControlToolkit. I added the necessary references to my project and added the assemblies to the Web.config and things seemed ok until I got to a page with an UpdatePanel on it and the dreaded 'Sys' is undefined error reared its ugly head. After a lot of head scratching and some failed Google-fu I finally manaeged to find a post which led me to my answer. I was missing the httpHandlers and httpModules configuration settings in my Web.config which if I had created a new ASP.NET AJAX enabled project from scratch would already have existed, adding them in and the error went away and now my UpdatePanel started to work as required.

[source language='xml']
 
 
 
 


 
[/source]


comments powered by Disqus