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.

6 Comments

  • 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)

  • Hi,
    I am using a smartpart to render an xml file but in the tool-part where we are supposed to choose the user control, I am getting this error message,

    Could not open user control path: System.UnauthorizedAccessException: Access to the path 'C:\Inetpub\Wwwroot\wss\VirtualDirectories\80\UserControls' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption) at System.IO.Directory.GetFiles(String path) at SmartPart.UserControlToolpart.RenderToolPart(HtmlTextWriter output)

    Can you please help me

  • thank you very good news was that my projects will work.

  • has been described has been impressive in terms of visual and descriptive about the site is always so difficult to find explanatory to people I know now I would recommend you all congratulations

  • always good fun to listen to the radio, but also makes the radio is beautiful music played

  • hava perdesi satış

Comments have been disabled for this content.