This is a migrated thread and some comments may be shown as answers.
RadEditor in RadWindow still not working despite onParentNodeChange
1 Answer 7 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 2
Gregory asked on 21 Nov 2019, 08:55 PM


I am trying to use a RadEditor in a RadWindow using the fix described here but it is still not working.

I am trying in a brand new page, here is my code.

<telerik:RadWindow RenderMode="Lightweight" runat="server" ID="RadWindowWithEditor" AutoSize="true" VisibleOnPageLoad="true" OnClientShow="fixEditor"
            <telerik:RadEditor RenderMode="Lightweight" runat="server" ID="RadEditor1" Width="700px" Height="300px">
                    Lorem ipsum dolor sit amet
    <script type="text/javascript">
        function fixEditor()
            console.log($find("<%=RadEditor1.ClientID %>"));
            $find("<%=RadEditor1.ClientID %>").onParentNodeChanged();

I still get a Javascript error:

Uncaught TypeError: Cannot read property 'defaultView' of undefined
    at Object.isWindowDestroyed
    at b.DefaultToolAdapter.setToolState
    at b.DefaultToolAdapter._onEditorModeChange

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 22 Nov 2019, 12:50 AM

Hi Gregory,

I have good news that the problem is resolved as noted at

Please upgrade to the latest version to apply the fix.


Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Asked by
Top achievements
Rank 2
Answers by
Telerik team
Share this question