This is a migrated thread and some comments may be shown as answers.

MOSSRadEditor in 3.5 DLL ?

5 Answers 89 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
ncollet
Top achievements
Rank 2
ncollet asked on 08 Jul 2008, 10:26 AM
Hello,

It's possible to get the compiled version of assembly RadEditorSharePoint with the 3.5 dotnet framework ?

I use RadEditorSharePoint in my custom webpart and I want to use only 3.5 framework.

Is there a help for the control MOSSRadEditor like API reference ?

It's not possible to download source code for RadEdirtorSharePoint but I subscribe with source code licence, it's normal ?

Thanks in advance for your answer.

Best Regards.
Nicolas COLLET.

5 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 08 Jul 2008, 01:23 PM
Hi Nikolas,

Currently we are shipping only the 2.0 version of RadEditor for MOSS and there is no functional difference between the 2.0 and 3.5 version of the control. But, if you what you can manually set the editor to use the Telerik.Web.UI v.3.0 dll. Just set bindingRedirect in the Web.Config from the 2.0 version of the Telerik.Web.UI dll to the 3.5 one e.g.
<runtime>    
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">     
      <dependentAssembly>    
        <assemblyIdentity name="RadEditorSharePoint" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />    
        <bindingRedirect oldVersion="2008.01.515.20" newVersion="2008.01.515.35" />    
      </dependentAssembly>    
    </assemblyBinding>    
 </runtime>    
 

I hope this helps.

Sincerely,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Jim
Top achievements
Rank 1
answered on 08 Jul 2008, 06:45 PM
I'd just like to point out that there is an additional step to making the current version of RadEditor work with a MOSS installation that ONLY has the .NET Framework 3.5 installed.  I do not have the AJAX 1.0 extensions installed and never have.

When I deployed RadEditor to a web application, it broke it completely.  Apparently, this version (5.1) is still looking to use the System.Web.Extensions DLL contained in the 1.0 version of the AJAX framework.  I get an error in the Application log about how the system can't find the DLL file.  Sharepoint simply displays "unknown error" when you open that particular web app.

What you have to do is add the following:

<dependentAssembly>     
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />    
        <bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0" />     
      </dependentAssembly> 


This is in effect the same trick you're using above, but pointing all apps that look for the old AJAX dll to the one that comes with the .NET framework.  That made RadEditor work for us.

Jim Ferraiolo
University of Virginia
0
ncollet
Top achievements
Rank 2
answered on 08 Jul 2008, 07:19 PM

Hi George,

I have a problem with your solution, it's not possible to compile my webpart with the reference System.Web.extensions from 3.5 framework.

I have only 3.5 framework installed on my computer and I have an error during the compilation because it need to access at version 1.0.61025.0.

So it's not possible to provide RadEditorSharePoint compile with 3.5 assembly of Telerik.Web.UI ?

Best regards.
Nicolas COLLET.

0
Jim
Top achievements
Rank 1
answered on 08 Jul 2008, 07:57 PM
Nicolas,

Try my suggestion above.
0
George
Telerik team
answered on 09 Jul 2008, 12:30 PM
Hi,

Indeed, Jim is correct. You need to set the system to use the ASP.NET 3.5 Framework e.g.
<dependentAssembly>        
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" culture="neutral" />       
        <bindingRedirect oldVersion="1.0.61025.0" newVersion="3.5.0.0" />        
</dependentAssembly>    
 

I hope this helps.

Kind regards,
George
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
ncollet
Top achievements
Rank 2
Answers by
George
Telerik team
Jim
Top achievements
Rank 1
ncollet
Top achievements
Rank 2
Share this question
or