RadEditor toolbar issue when clicked

2 Answers 218 Views
Editor
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
Sachita asked on 28 Dec 2021, 04:00 AM

Hi Team,

Currently testing with Telerik R32021 - 2021.3.914.45 and .NetFramework-4.8

Browser - Edge, Chrome

We have migrated changes from RadEditor(Classic) to RadEditor (Asp.NetAjax) .

Steps to Replicate:

  1. Clicked on tool bar like Document,Image,Bold,Italic,Table all other tools in RadEditor ,

Observed Output: Cannot read properties of undefined (reading 'selection') in Script Resource.axd

 

Can any one help me out to resolve the issue?

2 Answers, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 18 Mar 2022, 07:53 AM

Hi Kumar,

This error could happen if the editor is initially hidden and its content area is configured to be an iframe (its default option).

You can solve the error and the disabled content area by:

  • setting the ContentAreaMode property of RadEditor to "Div"
  • or by firing the onParentNodeChanged() method when showing the editor in the panelbar item as explained in this article RadEditor Does Not Work in RadWindow. You can get a reference to the editor and execute its onParentNodeChanged method in the OnClientItemExpand event of RadPanelBar. If you are using a TabStrip use its OnClientTabSelected event to call the onParentNodeChanged function.

Regards,
Rumen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Vessy
Telerik team
answered on 28 Dec 2021, 06:41 AM

Hello Sachita,

Such error can be caused if some of the logic targeting the Classic RadEditor remains after the migration. Please, go through the steps in the following article and make sure that each point from it is applied at your end:

https://docs.telerik.com/devtools/aspnet-ajax/controls/editor/changes-and-backwards-compatibility/migration-from-radeditor-classic-to-radeditor-for-asp.net-ajax

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
commented on 17 Mar 2022, 04:59 PM | edited

we have gone through each step as mentioned in above document, but still getting same issue  as attached (not able to select any of editor dialogs) all changes are upto date.

Can you please let me know how to resolve above issue?

Tags
Editor
Asked by
Sachita
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Rumen
Telerik team
Vessy
Telerik team
Share this question
or