Upgrading to a Newer Version
- 2 minutes to read
Since SharePoint maintains its files and modification history, it is necessary to perform the following steps to delete/upgrade deployed DevExpress Web Parts for SharePoint used in SharePoint Pages.
- If you have previously modified certain SharePoint Pages with the SharePoint Designer, then edit the corresponding page with the SharePoint Designer in Advanced Mode, and use the
<%--…--%>expression to comment out the DevExpress Register directives and control markup.
Remove Web Parts that use DevExpress controls from all pages.
1) Use the Site Action -> Edit Page command to edit the corresponding page.
2) Select the required Web Part.
3) Click the Delete command within the Smart Tag menu.
- Remove all Web Parts from the Site Actions -> Site Settings -> Galleries -> Web Parts menu.
- Ensure that there are no DevExpress entries in the Web.config file.
Clear the corresponding "Temporary ASP.NET Files" directory (the c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\ path for SharePoint 2013 and SharePoint 2016). You may need to use the following command to stop the IIS process.
Use the following command to restart IIS.
- Examine all problematic pages and check to see if they operate properly, and that there are no errors or warning messages.
- Register a new version of the DevExpress Web.config entries. See the following help topic for more information: Installation and Deployment.
- If you have modified certain SharePoint Pages directly, then use the SharePoint Designer in Advanced Mode to edit the corresponding page: remove comment expressions from DevExpress Register directives and control markup, and update DevExpress Register directives based upon the new DevExpress version.
- Use the Project Converter tool to upgrade the source folder of Web Part projects that use DevExpress controls. See the following help topic for more information: Upgrade Notes.
- Remove the Properties -> licenses.licx file, the Bin folder and the Obj folders.
- Rebuild and redeploy the upgraded Web Parts projects.
Insert the required Web Part into the required page.
Examine all problematic pages and check to see if they operate properly, and that there are no errors or warning messages.