Tuesday 17 April 2012

Ajax ToolKit Configuration For Sharepoint


Before  you   use  Ajax Toolkit  Controls  in  your  visual  web part, you need  to  configure
sharepoint.

STEP 1
copy  the  ajaxtoolkit.dll  to  C:\Windows\assembly\  Folder .

STEP 2
Now  inside the  C:\Windows\assembly\   select  ajaxtoolkit  assembly  right click then properties

                                                                                                                                                                    


Note the public key token ,culture,version no.

STEP 3
Now  edit  the  web.config  file  in C:\inetpub\wwwroot\wss\VirtualDirectories\1111\web.config  --replace 1111 with your site port no
















STEP 4
Now add the following tag  inside the web.config file.

<assemblies>
<add assembly="AjaxControlToolkit, Version=3.0.30930.28736, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e" />
</assemblies>  

Now you can add ajax toolkit  controls to your  webpart.

No comments:

Post a Comment