Last post Jan 04, 2008 05:22 PM by whatispunk
Jan 04, 2008 03:41 PM|gujju121|LINK
I wanted to add AJAX functionality to THB,So I
1. downloaded AJAX toolkit and setup everything.
2. changed WEB.Config and added following
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
3.I added script manager to template.master page between MainContent placeholder.
but I cannot use any ajax control, the error says script manager cannot be found,
Can anyone help me out?
Jan 04, 2008 04:16 PM|whatispunk|LINK
You need to add all the http handlers to the web.config also.
Create a new site using the AJAX Enabled Website template. Then take a look at the web.config file. There's probably a bunch of things missing.
Jan 04, 2008 05:00 PM|gujju121|LINK
Thanks for the quick response,
After adding few more tags in web.config , ajax controls are working fine but there is a
red squiggly under script manager and it says "Element scriptmanager is not a known element" though controls are working fine. I don't know what is wrong with script manager.
Jan 04, 2008 05:06 PM|whatispunk|LINK
I know it sounds dumb but... try closing and reopening VS and your project.
Jan 04, 2008 05:11 PM|gujju121|LINK
I did and also reboot the pc but same problem.
Jan 04, 2008 05:22 PM|whatispunk|LINK
Can you post your web.config (minus any sensitive data) and at least one of your aspx pages?