RadEditor with EventHandler within RadWindow crashes on Browser refresh

5 posts, 0 answers
  1. R
    R avatar
    13 posts
    Member since:
    Sep 2011

    Posted 09 Sep 2011 Link to this post

    I have a RadEditor in a tooltip which is opened from a RadWindow. When the RadEditor is Enabled, I have added some event handlers to restrict the number of characters entered in the RadEditor (LimitCharacter code from http://www.telerik.com/community/forums/aspnet-ajax/chart/charector-limit-in-rad-editor.aspx). If the browser is refreshed while the editor is in Enabled mode, I get the error:

    “Unable to get value of the property 'removeChild': object is null or undefined” .
    This seems to happen after
    $telerik.removeExternalHandler is called (what I saw in the debug).
    I’m not sure what I need to do to handle this, but I have not been able to find a solution. I use the exact same code but without the RadWindow, and it works.
    Please let me know if you have any ideas as to what the problem might be.

    RadEditor definition:
    <telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="LimitCharacters" OnClientPasteHtml="OnClientPasteHtml" MaxTextLength="100" EditModes="All"


    ToolsFile="~/EditorToolBar/Tools.xml" Width="600px" Height="100px" OnInit="RadEditor1_Init" ForeColor="Black" Font-Bold="true" Font-Size="Small" Content='<%# (Eval("Notes") == DBNull.Value || Eval("Notes") == "" || Eval("Notes").ToString() == "null") ? "" : Eval("Notes") %>'>


            <telerik:EditorCssFile Value="~/Styles/RadEditorStyleOverrides.css" />



    RadWindow definition (in a different file):
    <telerik:RadWindow ID="RadWindow_ConsRecDocs" runat="server" Behaviors="Move,Resize,Close"

    NavigateUrl="ConsRecDocs.aspx" Skin="Windows7" Width="900" Height="700" AutoSize="false">



  2. Rumen
    Rumen avatar
    14471 posts

    Posted 13 Sep 2011 Link to this post

    Hello R,

    I am not aware of this problem. Could you please isolate it in a sample working project and send it for examination via a support ticket?

    Best regards,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Tom
    Tom avatar
    1 posts
    Member since:
    Nov 2011

    Posted 01 Nov 2011 Link to this post

    I am receiving a similar error, but with a RadGrid. Has anyone found a solution to this?
  4. Vladimir
    Vladimir avatar
    1 posts
    Member since:
    May 2011

    Posted 28 May 2012 Link to this post

       This problem looks similar to this question: 


      Looks like there are problems with event handlers when combining RadEditor with RadWindow...

      Any solution or workaround?
  5. Rumen
    Rumen avatar
    14471 posts

    Posted 31 May 2012 Link to this post


    Did you try the provided suggestion in the http://www.telerik.com/community/forums/aspnet-ajax/window/attacheventhandler-not-working-when-radeditor-inside-a-radwindow.aspx forum thread?

    If you experience such a problem and your are unable to resolve it, open a support ticket, provide a simple working project and we will help you.

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