RadEditorDiagnostics is not defined

3 posts, 0 answers
  1. Alexander
    Alexander avatar
    152 posts
    Member since:
    Jun 2012

    Posted 28 Aug 2012 Link to this post

    I am getting this error when loading the asp.net page with RadEditor on it.
    How to fix this?
  2. Rumen
    Rumen avatar
    14431 posts

    Posted 29 Aug 2012 Link to this post


    RadEditorDiagnostics is actually a custom module, which is demonstrated in the following live demo: Custom Modules. You can get such error if you have put/imported the code of the custom module on the page but the editor is invisible or still not available/created on the page. To fix the problem you should import the script under the RadEditor's declaration and wrap it inside

    if (typeof (Telerik.Web.UI.Editor.Modules) != "undefined") {
     //put the module code here


    if (Telerik.Web.UI.Editor && Telerik.Web.UI.Editor.Modules != undefined) { }

    Make sure that there is enabled at least one of the built-in modules of RadEditors, when adding a custom module, e.g.

    <telerik:radeditor runat="server" ID="RadEditor1" Height="700px" >
          <telerik:EditorModule Name="MyModule" Enabled="true" Visible="true" />
          <telerik:EditorModule Name="RadEditorDiagnostics" Enabled="true" Visible="true" />

    Kind regards,
    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. Alexander
    Alexander avatar
    152 posts
    Member since:
    Jun 2012

    Posted 07 Sep 2012 Link to this post

    All of sudden, this error did not appear anymore. But right only it happens again - I will re-check, keeping in mind your reply. Thanks! :)
Back to Top