Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Full-Featured RadEditor > MOSSRadEditor in 3.5 DLL ?

Not answered MOSSRadEditor in 3.5 DLL ?

Feed from this thread
  • ncollet avatar

    Posted on Jul 8, 2008 (permalink)

    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.

    Reply

  • George George admin's avatar

    Posted on Jul 8, 2008 (permalink)

    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

    Reply


  • Jim avatar

    Posted on Jul 8, 2008 (permalink)

    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

    Reply

  • ncollet avatar

    Posted on Jul 8, 2008 (permalink)

    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.

    Reply

  • Jim avatar

    Posted on Jul 8, 2008 (permalink)

    Nicolas,

    Try my suggestion above.

    Reply

  • George George admin's avatar

    Posted on Jul 9, 2008 (permalink)

    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

    Reply


Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / SharePoint 2007 > Full-Featured RadEditor > MOSSRadEditor in 3.5 DLL ?