-
Download
download the actual version from http://www.codeplex.com/AtlasControlToolkit (my dll-Version is 1.0.10920.30586). I unzipped the files to C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\AjaxControlToolkit
-
Copy dll to virtual directory
Delete dll from GAC if you allready have installed it there.
If you run your WSS-Site on port 81 copy all files and directories from C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\AjaxControlToolkit\SampleWebSite\Bin to C:\Inetpub\wwwroot\wss\VirtualDirectories\81\_app_bin
-
Add AjaxToolKit-dll to SafeControls in web.config
Open C:\Inetpub\wwwroot\wss\VirtualDirectories\81\web.config.
Add the AjaxToolKit-dll as Safe-Control. Your AJAX-part should look like this:
<configuration>
...
<SharePoint>
...
<SafeControls>
...
<SafeControl Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TypeName="*" Safe="True" />
<SafeControl Assembly="AjaxControlToolkit, Version=1.0.10920.30586, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" Namespace="AjaxControlToolkit" TypeName="*" Safe="True" />
</SafeControls>
-
Add AjaxToolKit-dll to controls in web.config
Open C:\Inetpub\wwwroot\wss\VirtualDirectories\81\web.config.
Your AJAX-part should look like this:
<system.web>
...
<pages ...>
...
<controls>
...
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
</controls>
</pages>
-
Add ScriptManager to your default.master
Instead of <asp:ScriptManager .../> add the ToolkitScriptManager to your default.master.
<form runat="server" onsubmit="return _spFormOnSubmitWrapper();">
<WebPartPages:SPWebPartManager id="m" runat="Server"/>
<ajaxToolkit:ToolkitScriptManager ID="ScriptManager1" runat="server" />
-
iisreset
-
Open your WSS-Site and you should find somewhere at the bottom of the page:
<!--
Sys.Application.initialize();
// -->
</script>
</form>