Tuesday, August 03, 2010

RadEditor for MOSS 2007 - Assembly Binding

Just a quick note that it's possible to upgrade Telerik RadEditor for MOSS to a new version without changing registry on Page Layout and reference on VS project. The magic is the assembly binding. For example, if you want to upgrade the RadeEditor from version 5.6.2.0 to 5.8.0.0, first you need to install and deploy the new RadEditor solution package, then add following to the web.config file:
<configuration>
...
<runtime>
...
<dependentAssembly>
<assemblyIdentity name="RadEditorSharePoint" publicKeyToken="1f131a624888eeed" />
<bindingRedirect oldVersion="5.6.2.0" newVersion="5.8.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
<bindingRedirect oldVersion="2009.3.1314.20" newVersion="2010.2.713.20" />
</dependentAssembly>
</assemblyBinding>
</runtime>
...
</configuration>