AJAX has been working in the SharePoint 2007 with windows
server 2003.
So we migrated the above share point code and installed share point 2007 with windows server 2008 R2, but AJAX is not working in the new environment, after that I researched lot of articles long long hours for trouble shooting and apply
in the below steps
Steps
1.Installing Correct one of the AJAX setup(e.g 1.0,3.0, etc)
2.Modifying Port web config
3.Amend Master Page with script Code
4. Move .JS related files to Layout folders(i missed this step, I face issue then i fixed it)
<ajaxToolkit:ToolkitScriptManager EnablePartialRendering="true" runat="server" ID="ScriptManager1" />
For enabling Ajax in SharePoint 2007,
We need first to configure SharePoint Portal to support AJAX. We can do it in
following way -
- Installing ASP.NET AJAX on servers
in your farm
- install the full " AJAX
Extensions " from
ajax.asp.net
http://ajaxcontroltoolkit.codeplex.com/releases/view/11121
- Configure SharePoint to support
AJAX & AjaxControlToolkit
–
For enabling Ajax in SharePoint 2007, you need first to configure
SharePoint to support AJAX. For this we need to add some configuration
settings in web.config file.Locate your default web.config file
("C:\Inetpub\wwwroot\wss\VirtualDirectories\YourWebAppPortNo\web.config").