RAD Editor Toolbox Features are Disabled

5 posts, 0 answers
  1. Manoj
    Manoj avatar
    3 posts
    Member since:
    Feb 2012

    Posted 28 Mar 2012 Link to this post

    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...




  2. Rumen
    Admin
    Rumen avatar
    14361 posts

    Posted 02 Apr 2012 Link to this post

    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.
  3. Rumen
    Admin
    Rumen avatar
    14361 posts

    Posted 02 Apr 2012 Link to this post

    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.
  4. Manoj
    Manoj avatar
    3 posts
    Member since:
    Feb 2012

    Posted 13 Apr 2012 Link to this post

    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





  5. Rumen
    Admin
    Rumen avatar
    14361 posts

    Posted 18 Apr 2012 Link to this post

    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.
Back to Top