Thursday, May 21, 2009

Pain, pain, pain configuring smartparts on sharepoint

I have lost last two days trying to make Smartpart with Ajax work on Sharepoint server. It was a nightmare, but in the end I managed to get my ajax enabled control working. Here are some tips on how to do it: 1)Before even starting to work on Smartparts, enable the Ajax on sharepoint. Exact procedure of things to do is here. 2) Add scriptmanager to the master page of a site, and remove it form controls. 3) Get smartparts from Codeplex here. 4) turn the trace on and turn of custom errors, to have an idea what went wrong. 5) make sure that you have the right assemblies registered (use reflector to get version and public key) in Sharepoint's config file. That's it.
Post a Comment