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

RadEditor 6.6.3 and Firefox 6.0

21 Answers 346 Views
Editor
This is a migrated thread and some comments may be shown as answers.
MailUp Dev
Top achievements
Rank 1
MailUp Dev asked on 18 Aug 2011, 01:19 PM
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.

21 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 18 Aug 2011, 03:01 PM
Hi,
I am having exactly the same issue, but with RadEditor 6.6.1
Any thoughts would be greatly appreciated!

Regards,

David
0
Jan Krenek
Top achievements
Rank 1
answered on 18 Aug 2011, 05:18 PM
We're having the same problem :-/ Is any workaround available?
0
cecilUOA
Top achievements
Rank 1
answered on 19 Aug 2011, 01:51 AM
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
     
0
MailUp Dev
Top achievements
Rank 1
answered on 19 Aug 2011, 08:42 AM
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
0
Raphael
Top achievements
Rank 1
answered on 19 Aug 2011, 09:18 AM
Same problem here. Has someone found a server-side workaround? Changing the user-agent isn't an option.
0
Carlo
Top achievements
Rank 1
answered on 19 Aug 2011, 11:40 AM
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.
0
I.Tokarev
Top achievements
Rank 1
answered on 19 Aug 2011, 03:12 PM
Same problem with  RadEditor v 7.3.2. Seems like a problem in browser detection script embedded as resource in editor dll.
0
Robin
Top achievements
Rank 1
answered on 19 Aug 2011, 11:13 PM
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

0
Accepted
Rumen
Telerik team
answered on 22 Aug 2011, 02:54 PM
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 >>

0
J-P Minderhoud
Top achievements
Rank 1
answered on 22 Aug 2011, 04:00 PM
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
0
Joseph Bradford
Top achievements
Rank 1
answered on 22 Aug 2011, 09:30 PM
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?
0
Rumen
Telerik team
answered on 23 Aug 2011, 08:18 AM
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 >>

0
Rumen
Telerik team
answered on 23 Aug 2011, 08:22 AM
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 >>

0
MailUp Dev
Top achievements
Rank 1
answered on 23 Aug 2011, 09:24 AM
Dear Rumen,
actually we had to test the Request.UserAgent value rather than the Request.Browser.Browser but besides that everything worked.

Thanks,
0
J-P Minderhoud
Top achievements
Rank 1
answered on 23 Aug 2011, 09:53 AM
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>
0
meng
Top achievements
Rank 1
answered on 23 Aug 2011, 07:46 PM
post deleted.
0
Manh Tu
Top achievements
Rank 1
answered on 24 Aug 2011, 09:35 AM
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 :)
0
Dave
Top achievements
Rank 1
answered on 24 Aug 2011, 09:47 PM
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!
0
Jian
Top achievements
Rank 1
answered on 25 Aug 2011, 09:29 AM
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
0
Rumen
Telerik team
answered on 25 Aug 2011, 10:34 AM
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 >>

0
rems
Top achievements
Rank 1
answered on 30 Aug 2011, 08:58 AM
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 ;)
Tags
Editor
Asked by
MailUp Dev
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Jan Krenek
Top achievements
Rank 1
cecilUOA
Top achievements
Rank 1
MailUp Dev
Top achievements
Rank 1
Raphael
Top achievements
Rank 1
Carlo
Top achievements
Rank 1
I.Tokarev
Top achievements
Rank 1
Robin
Top achievements
Rank 1
Rumen
Telerik team
J-P Minderhoud
Top achievements
Rank 1
Joseph Bradford
Top achievements
Rank 1
meng
Top achievements
Rank 1
Manh Tu
Top achievements
Rank 1
Dave
Top achievements
Rank 1
Jian
Top achievements
Rank 1
rems
Top achievements
Rank 1
Share this question
or