RadEditor 6.6.3 and Firefox 6.0

22 posts, 1 answers
  1. MailUp Dev
    MailUp Dev avatar
    6 posts
    Member since:
    Nov 2009

    Posted 18 Aug 2011 Link to this post

    Hi to all, I've got problem rendering editor tool with the latest version of Firefox (6.0): all the tools buttons are missing and there is only a text area.
    I tried a test page with only the editor but the result is the same.

    Have you got some idea to resolve this problem?

    Thanks in advance.
  2. David
    David avatar
    1 posts
    Member since:
    Jun 2009

    Posted 18 Aug 2011 Link to this post

    Hi,
    I am having exactly the same issue, but with RadEditor 6.6.1
    Any thoughts would be greatly appreciated!

    Regards,

    David
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jan Krenek
    Jan Krenek avatar
    16 posts
    Member since:
    Aug 2005

    Posted 18 Aug 2011 Link to this post

    We're having the same problem :-/ Is any workaround available?
  5. cecilUOA
    cecilUOA avatar
    20 posts
    Member since:
    May 2007

    Posted 18 Aug 2011 Link to this post

    Same problem here. I have seen the plain text box version before, it is the graceful degradated version of the editor, that typically appears when the browser version is too old to support the rich text editor. So my theory is the new Firefox 6 browser info falls outside the range which the editor code can understand? Therefore it's defaulted to not-supported category.

    This one is the Browser Info from Firefox 6
    Browser CodeName: Mozilla
    Browser Name: Netscape
    Browser Version: 5.0 (Windows)
    Platform: Win32
    User-agent header: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0

    This one is from Firefox 3.6, where the editor still displays fine
    Browser CodeName: Mozilla
    Browser Name: Netscape
    Browser Version: 5.0 (Windows; en-US)
    Platform: Win32
    User-agent header: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12
         
  6. MailUp Dev
    MailUp Dev avatar
    6 posts
    Member since:
    Nov 2009

    Posted 19 Aug 2011 Link to this post

    It's probably like cecilUOA said, after some test I discovered that if you change your UserAgent string with a FireFox add-on the editor works perfectly.

    FireFox 6.0: Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20100101 Firefox/6.0

    In this way "Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20100101 Firefox/5.0" things return to work.

    Greetings
  7. Raphael
    Raphael avatar
    4 posts
    Member since:
    Nov 2010

    Posted 19 Aug 2011 Link to this post

    Same problem here. Has someone found a server-side workaround? Changing the user-agent isn't an option.
  8. Carlo
    Carlo avatar
    1 posts
    Member since:
    Aug 2011

    Posted 19 Aug 2011 Link to this post

    Same problem here. This editor on a MAC is actually no more usable other than with the old Firefox 3.6. A fix is urgently needed from Telerik, please help.
  9. I.Tokarev
    I.Tokarev avatar
    1 posts
    Member since:
    Sep 2006

    Posted 19 Aug 2011 Link to this post

    Same problem with  RadEditor v 7.3.2. Seems like a problem in browser detection script embedded as resource in editor dll.
  10. Robin
    Robin avatar
    1 posts
    Member since:
    Aug 2011

    Posted 19 Aug 2011 Link to this post

    Same here.
    RadEditor 7.3.2.0

    Operating System

    Microsoft Windows XP

    Screen Resolution

    1152 x 864

    Web Browser

    Firefox 6.0

    Browser Size

    1003 x 673

    IP Address

    184.71.71.242

    Color Depth

    24 bit

    Javascript

    Yes

    Flash Version

    10 (10.3.183)

    Cookies

    Yes

    User Agent

    Mozilla/5.0 (Windows NT 5.1; rv:6.0) Gecko/20100101 Firefox/6.0

  11. Answer
    Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 22 Aug 2011 Link to this post

    Hi everyone,

    I posted a sticky note today in RadEditor Classic forum about the problem and how to resolve it. Here it is: RadEditor for ASP.NET does not work properly in Firefox 6.

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  12. J-P Minderhoud
    J-P Minderhoud avatar
    13 posts
    Member since:
    Sep 2007

    Posted 22 Aug 2011 Link to this post

    Hi Rumen,

    Your solution does not solve the problem for our RadEditor.NET2 6.5.0 as there the DLL is obfuscated and therefore the private fields
    _browserCapabilitiesRetrieved AND _isSupportedBrowser don't exist.

    Could you please supply us with the correct field names for the 6.5.0 build.
    That would save us a huge amount of time updating 50+ projects from 6.5.0 to a later 7.x version for which the workaround does work. As an update involves not only the DLL update but also updates for config- and toolsfiles, js script folders and checking every project does still work.

    Tnx,
    Jan-Pieter
  13. Joseph Bradford
    Joseph Bradford avatar
    8 posts
    Member since:
    Aug 2009

    Posted 22 Aug 2011 Link to this post

    Hello, How can we implement this fix if we are using the installable DNN version of the editor? Do we need to modify it in the source?
  14. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 23 Aug 2011 Link to this post

    Hi Jan-Pieter,

    If you use RadEditor.Net2.dll v.6.5.0 you should replace

    _isSupportedBrowser with _xe6281f3f95a41c0f

    _browserCapabilitiesRetrieved with _xa49ae9b39666c916

    e.g.

    System.Reflection.FieldInfo browserCheckedField = typeof(RadEditor).GetField("_xa49ae9b39666c916", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
     
    browserCheckedField.SetValue(RadEditor1, true);
     
    System.Reflection.FieldInfo browserSupportedField = typeof(RadEditor).GetField("_x0718e97515adc940", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
     
    browserSupportedField.SetValue(RadEditor1, true);



    Kind regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  15. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 23 Aug 2011 Link to this post

    Hi Joseph,

    You should modify the RadHtmlEditorProvider.vb DNN provider code.

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  16. MailUp Dev
    MailUp Dev avatar
    6 posts
    Member since:
    Nov 2009

    Posted 23 Aug 2011 Link to this post

    Dear Rumen,
    actually we had to test the Request.UserAgent value rather than the Request.Browser.Browser but besides that everything worked.

    Thanks,
  17. J-P Minderhoud
    J-P Minderhoud avatar
    13 posts
    Member since:
    Sep 2007

    Posted 23 Aug 2011 Link to this post

    Hi Rumen,

    Although I do believe that these are the correct fields the fix does not seem to work.
    The fields are correctly set to 'true' and remain 'true' throughout the editor's life cycle, according to the test code below, but still only a text-area is rendered.

    Thanks,
    Jan-Pieter

    PS: The 'normal' workaround does work for our projects running the 7.x RadEditor

    namespace RadEditor65Firefox6Test
    {
        public class TestEditor : Telerik.WebControls.RadEditor
        {
            private void AssertIsBrowserSupported()
            {
                System.Reflection.FieldInfo browserCheckedField = typeof(Telerik.WebControls.RadEditor).GetField("_xa49ae9b39666c916", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
                var browserChecked = (bool)browserCheckedField.GetValue(this);
                System.Reflection.FieldInfo browserSupportedField = typeof(Telerik.WebControls.RadEditor).GetField("_x0718e97515adc940", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
                var browserSupported = (bool)browserSupportedField.GetValue(this);
                System.Diagnostics.Debug.Assert(browserChecked == true, "browserChecked FALSE");
                System.Diagnostics.Debug.Assert(browserSupported == true, "browserSupported FALSE");
            }
     
            protected override void OnInit(EventArgs e)
            {
                if (this.Context.Request.Browser.Browser.ToLowerInvariant() == "firefox")
                {
                    System.Reflection.FieldInfo browserCheckedField = typeof(Telerik.WebControls.RadEditor).GetField("_xa49ae9b39666c916", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
                    browserCheckedField.SetValue(this, true);
                    System.Reflection.FieldInfo browserSupportedField = typeof(Telerik.WebControls.RadEditor).GetField("_x0718e97515adc940", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
                    browserSupportedField.SetValue(this, true);
                }
                base.OnInit(e);
                AssertIsBrowserSupported();
            }
     
            protected override void OnLoad(EventArgs e)
            {
                base.OnLoad(e);
                AssertIsBrowserSupported();
            }
     
            protected override void Render(HtmlTextWriter output)
            {
                AssertIsBrowserSupported();
                base.Render(output);
                AssertIsBrowserSupported();
            }
        }
    }
    <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="RadEditor65Firefox6Test.test" %>
    <%@ Register TagPrefix="cc" Assembly="RadEditor65Firefox6Test" Namespace="RadEditor65Firefox6Test" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <cc:TestEditor id="editorTest" width="600" height="500" runat="server" ShowHtmlMode="true" />
        </div>
        </form>
    </body>
    </html>
  18. meng
    meng avatar
    1 posts
    Member since:
    Jun 2011

    Posted 23 Aug 2011 Link to this post

    post deleted.
  19. Manh Tu
    Manh Tu avatar
    1 posts
    Member since:
    Aug 2011

    Posted 24 Aug 2011 Link to this post

    Hi Admin,

    I have many website using old RadEditor,

    so do you know these information

    _isSupportedBrowser with _xe6281f3f95a41c0f

    _browserCapabilitiesRetrieved with _xa49ae9b39666c916

    for RadEditor v5.5.2 ?

    Thank you very much :)
  20. Dave
    Dave avatar
    38 posts
    Member since:
    Jul 2007

    Posted 24 Aug 2011 Link to this post

    We're using DNN 4.7 and RadEditor.Net2 v 7.2.1. These fixes are not working. Is there something else we need to do for this version? Or are the fields different?

    Thanks!
  21. Jian
    Jian avatar
    1 posts
    Member since:
    Aug 2011

    Posted 25 Aug 2011 Link to this post

    Hi Rumen,

    I am using RadEditor 6.0.1.0, and your solution didn't work with my editor.

    Is there anything specific that I should do with this version of RadEditor?

    Thanks in advance.
    Jian
  22. Rumen
    Admin
    Rumen avatar
    12849 posts

    Posted 25 Aug 2011 Link to this post

    Hi guys,

    The development and support of RadEditor Classic is discontinued since 2009 and we could not provide further help for the versions prior 7.x.x, because their code is obfuscated and will require precious time to provide a working solution for each separate version, time that we can use to implement new controls, features and fix bugs in the new Ajax suite. You can find information about Telerik's Support Lifecycle Policy in this article: Telerik's Support Lifecycle Policy and see the following chart: http://www.telerik.com/libraries/ajax_product_pages/radcontrols-lifecycle.sflb.

    There is no general solution for the versions prior 7.x.x and our recommendation is to consider migration to the latest classic build 7.3.6. It does not support officially the modern browsers, but still can work under them using different workarounds.

    The recommended approach however is to migrate to the new and much enhanced RadEditor for ASP.NET AJAX, which officially supports all new browsers and offers multiple new features and bug fixes compared to its predecessor.

    Best regards,
    Rumen
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

  23. rems
    rems avatar
    1 posts
    Member since:
    Aug 2011

    Posted 30 Aug 2011 Link to this post

    Hi !

    Take a look at this website: http://metatips.webs.com/apps/blog/show/8209076-radeditor-telerik-firefox-6-probleme-de-compatibilite-radeditor-for-asp-net-does-not-work-properly-in-firefox-6

    Here, the default value was changed but you can try to change the regex. It will be better....

    Good luck ;)
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017