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

RAD Editor Toolbox Features are Disabled

4 Answers 100 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Manoj
Top achievements
Rank 1
Manoj asked on 28 Mar 2012, 03:32 PM
We're using the version "RadControls for ASP.NET AJAX Q2 2010". We have a functional page with a RAD Editor.

On another page within the same application, I have added a RAD Editor within a Repeater control. The RAD Editor control (on both the pages) is using the same ToolsFile.xml. All the properties for the Editor are set the same way as the one on the functional page. For some reason, all the toolbox features are disabled on this page. In IE 9.0, the content area is editable. However, in FF and Chrome, the content area is not editable. I do not see any errors...




4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 02 Apr 2012, 08:32 AM
Hi,

I am not aware of such a problem of RadEditor in a repeater control. My suggestion is to test the latest version of RadControls for ASP.NET AJAX Q1 2012. If the problem still persists, please open a support ticket and send a simple working project that demonstrates the issue. I will debug it after reproducing the problem and will provide a solution.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Rumen
Telerik team
answered on 02 Apr 2012, 08:54 AM
For your convenience I have attached my test project where RadEditor is placed in a Repeater control and works properly in IE, Firefox and Chrome.

Kind regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Manoj
Top achievements
Rank 1
answered on 13 Apr 2012, 06:58 PM
Rumen,

Based on your suggestion at (http://www.telerik.com/community/forums/aspnet-ajax/editor/radeditor-iframe-not-displaying-content-in-ff.aspx), I set RegisterWithScriptManager="false" for the RadEditor. In addition, I set the OnClientLoad="OnClientLoad

function OnClientLoad(editor) {
        setTimeout(function () { editor.onParentNodeChanged(); }, 0);
    }

This fixed the problem in FF, Chrome, Safari and IE 8.0. However, in IE 9.0, I get this error:

Message: Sys.InvalidOperationException: Type Telerik.Web.UI.Orientation has already been registered.
The type may be defined multiple times or the script file that defines it may have already been loaded.
A possible cause is a change of settings during a partial update.

We're using version 2010.2.713.20 of Telerik.Web.UI.
Using the newer version 2012.1.215.40 didn't help either.

Any thoughts?

Thanks

Manoj





0
Rumen
Telerik team
answered on 18 Apr 2012, 02:14 PM
Hi,

The RegisterWithScriptManager="false" is suitable for MVC scenarios and you should not set it if you use RadEditor in ASP.NET webform.

In addition, the onParentNodeChanged is useful especially for the non IE browsers when the editor is moved in the DOM. If the problem does not exist in IE, than just do not fire this method.

function OnClientLoad(editor) {
   if (!$telerik.isIE)
        setTimeout(function () { editor.onParentNodeChanged(); }, 0);
}


If you unable to fix the issue, please, isolate it in a simple working project and send it for examination on our end via a support ticket.

Best regards,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Manoj
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Manoj
Top achievements
Rank 1
Share this question
or