This is a migrated thread and some comments may be shown as answers.

Radeditor, JDash and Google Chrome

2 Answers 64 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Gert
Top achievements
Rank 1
Gert asked on 23 Sep 2014, 09:05 AM
Hi

I seem to have hit a problem using the RadEditor in Chrome. When I try to use the RadEditor within a JDash editor window the RadEditor becomes completely unresponsive. I can click the buttons in the toolbar but I can cannot add text and the bottom three buttons (Design/HTML/Preview) also do not appear. When I investigated any potential errors within Chome I saw the following error:

Uncaught InvalidAccessError: Failed to execute 'setTimeout' on 'Window': No script context is available in which to execute the script.

Additionally, when I click on the RadEditor a few times I receive a blue window from Chrome stating that something went wrong while displaying the webpage and that I should reload. This does not happen when the RadEditor is on the page.

Yet strangely, the RadEditor works perfectly in Internet Explorer. Does anyone have a possible solution?

Thanks!

2 Answers, 1 is accepted

Sort by
0
Eugene
Top achievements
Rank 2
answered on 26 Sep 2014, 09:51 AM
I am having the same issue. 

Telerik, if you'd hook me up with rep I can give them credentials into a sample area of the troubled application so you can see the problem in the wild. I can privately provide our scripting, config on the troubled page as well.

We can post the solution here afterwards. 
0
Danail Vasilev
Telerik team
answered on 26 Sep 2014, 02:55 PM

Higuys,

@Gert:

JDash framework is a third party software that is not related to Telerik UI controls and therefore we cannot guarantee a proper integration with our controls.

Nevertheless I can suggest that you try the following steps:
  - Generally there is an issue with the RadEditor under Chrome that is logged here -
FIX: AW Snap error is thrown after clicking anywhere on a page that contains RadEditor and another iframe under Chrome
The issue is fixed and will be available for Q3 2014 release as well as in the latest internal build. You can try either the workaround in the feedback item or try the latest internal build in order to see whether the fix helps.
   - Sometimes the editor is moved in the DOM to another place to offer editing capabilities there which, however, leads to a broken functionality. In order to handle it you should call the onParentNodeChanged() method of the RadEditor when the window is opened. More information on the matter is available in the RadEditor Does Not Work in RadWindow and Appearance Issues with Initially Hidden Editor help articles.
    - If you are using RadEditor in "Div" mode you can try switching to "Iframe" one, because the iframe has its own context (and vice versa, for the same reason).
   - Use the approaches from this forum post.

 

@Eugene:

If you have private information you would rather not disclose in the forums, you can open a support ticket to get in touch with our support team. Note, however, that we do not support such an integration at the moment and considering that adding the JDash widgets breaks our controls, while they work fine outside of that environment, I am not sure there will be much we can do.

Regards,

Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Gert
Top achievements
Rank 1
Answers by
Eugene
Top achievements
Rank 2
Danail Vasilev
Telerik team
Share this question
or