Problem getting Ajax to work


I'm trying to add the reference AjaxControlToolkit.dll but I can't get the site to work after doing this. I've read a few posts regarding Ajax problems but I cant seem to find where to start. I've looked at but the only reference of System.Web.Extensions I've got is for 3.5 framework and doesn't work.

Is there a similar step-by-step guide to get it working?

Jan 21, 2010 12:21

You also need to add a few settings to your web.config file. I would just create a new project with ASP.NET AJAX included and compare the two projects web.config files.

Jan 21, 2010 12:35

I suppose it's these settings. I'll give it a go!

Jan 21, 2010 13:01

Yep :). Also watch out in what order you add the handlers.. they get used from top to bottom. So if things don't work in the beginning, try moving the ScriptResourceHandler further up the list.

Jan 21, 2010 13:40

I'll keep an eye out! I'm gonna start out by copying from another project that allready uses the function I'm going for so it shouldn't be a problem.


Jan 21, 2010 13:45

I still havn't gotten this to work. I've added all of the additional lines in web.config from both the page I link to earlier and I've looked at several other projects. No luck.

I'm testing on the most simple page where I update time to a label but the page keeps reloading. All I get is the error message down in the corner of the browser telling me it failed to load Ajax.

May 26, 2010 9:50
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.