Tuesday 12 June 2012

Ajax ToolKit Configuration For Sharepoint


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

STEP 1

  • Download the  compatible version of  AjaxToolkit
  • Extract the files
  • copy  the  AjaxControlToolkit.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.

1 comment:

  1. hi, this is more simple, that in http://ranaictiu-technicalblog.blogspot.com/2010/08/ajax-control-toolkit-with-sharepoint.html
    thanks

    ReplyDelete