Enable SmartPart with AJAX in SharePoint

I just try SmartPart and enable AJAX functionality in SharePoint tonight, here are few notes:

1. Download and install SmartPart (make sure SmartPart is deployed and affect all WSS sites as shown in the last step of the Setup wizard)
2. Activate SmartPart features (either admin UI or stsadm -o activefeature command)
3. Config AJAX extension in SharePoint (otherwise, you will get an "Unknown server tag 'asp:UpdatePanel' " error)
4. Create a AJAX-enabled website and "user controls"
5. Copy ASCX to UserControls folder to your SharePoint app

All developers are recommended to read the blogs from Jan and Michael first of course.

BTW, I saw another error message "This control does not allow connection strings with the following keywords: ‘Integrated Security’, ‘Trusted_Connection’." in my experimental application. After a quick googling then I change (it's the normal practice BTW) to use a limited rights user account instead of using integrated security in connection string and the problem solved.

Published Tuesday, June 10, 2008 12:10 AM by Colt
Filed under:

Comments

# re: Enable SmartPart with AJAX in SharePoint

Hi,

We are developing SharePoint application using MOSS 2007 and Visual Studio 2008. Now we want to implement AJAX in our application. We have installed Return of SmartPart and it is working fine. When ever adding the user control to the SmartPart with Ajax webpart we are getting the error like

Error: unable to load ~\/UserControls\SmartPartTest.ascx

Details: Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level where it is defined. (C:\Inetpub\wwwroot\wss\VirtualDirectories\38700\usercontrols\web.config line 4)

We have followed all the instruction mentioned in the Return of Smartpart installation document. If you are giving the solution for this problem i will appretiate you.

Thanks & Regards,

VenuGopal Sadineni

Mobile: 408-368-0461

Sunday, August 03, 2008 5:39 PM by VenuGopal Sadineni

# re: Enable SmartPart with AJAX in SharePoint

I also get the same error message... and I believe I have everything set up correctly after following the steps to get the SmartPart up and running

What do you mean in step 3 - Config AJAX extension in SharePoint?  I have Visual Studio 2008 installed on the same server as sharepoint so the system.web.extensions 3.5 is already in the GAC...

Thanks in advance, Brian

Brian.Cesafsky@AutoTrackerPlus.com

3. Config AJAX extension in SharePoint (otherwise, you will get an "Unknown server tag 'asp:UpdatePanel' " error)

Friday, June 26, 2009 5:38 PM by cesafsky_2000

Leave a Comment

(required) 
(required) 
(optional)
(required)