HOW-TOIntegrate RadEditor 3.x into DotNetNuke 2.1SOLUTION(we would like to thank Bert Corderman for the cooperation with the RadEditorProvider development)This guide will explain how to integrate RadEditor in the DotNetNuke Portal version 2.1.2. It assumes that you have Microsoft Visual Studio .NET and DotNetNuke 2.1.2 installed.
Download the zipped RadEditor installation files from your Client.Net account. Firstly, you need to have all files used by RadEditor and RadSpell in the DotNetNuke project. To accomplish this, copy the RadControls folder from the RadEditor installation folder to the DotNetNuke project folder. Then copy the RadEditor.dll and RadSpell.dll files from the RadEditor bin subfolder to the bin subfolder of the DotNetNuke project.
Download the RadEditorProvider (located in the "Resource Files" section below) and add it to the DotNetNuke solution. To do this, simply copy the RadEditorProvider folder (and the files within) to the following directory structure: DOTNETNUKE_PROJECT_FOLDER\Providers\HtmlEditorProviders.
Open the DotNetNuke solution and add the Provider.RadEditorProvider.vbproj project to it. This is easily done by right-clicking on the Solution Explorer and choosing Add Existing Project. Then browse to the RadEditorProvider\Provider.RadEditorProvider.vbproj and select Open. If you use Domain based licenses of RadEditor and RadSpell you'll need to uncomment and set the license file locations of the controls at lines 44 and 65 of the RadEditorProvider.vb file: 'cntlRAD.LicenseFile = "~/RadControls/LicenseFile.xml" 'spellcheck.LicenseFile = "~/RadControls/LicenseFile.xml"
Open the components\Globals.vb file of the DotNetNuke project and navigate to the line, containing the following code:Case "admin", "controls", "desktopmodules", "mobilemodules", "premiummodules", "providers"
(typically line 87) and add the "RadControls" text to the end of the line, so that it becomes as shown below: Case "admin", "controls", "desktopmodules", "mobilemodules", "premiummodules", "providers", "RadControls"
Open the web.config file of the DotNetNuke project and navigate to the <dotNetNuke><htmlEditor settings and add the following code there:<add name = "RadEditorProvider" type = "Telerik.DotNetNuke.RadEditorProvider, Telerik.RadEditorProvider" providerpath = "~\Providers\HtmlEditorProviders\RadEditorProvider\" enableRadSpell = "true" displayschema = "Default" enableupload = "false"/>
Also set the default provider to RadEditorProvider: <htmleditor defaultprovider="RadEditorProvider" >
Test your project!
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.