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

RadEditor causes "INVALID_ACCESS_ERR: DOM Exception" in Chrome Browser

2 Answers 60 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tanmay
Top achievements
Rank 1
Tanmay asked on 01 Oct 2012, 05:00 AM
Hi All,

I am using RadEditor within RadWindow in one of my current project. When I browse the webpage in Chrome browser it throws 'INVALID_ACCESS_ERR: DOM Exception'.
Exception details:
  1. Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15 Telerik.Web.UI.WebResource.axd:12839
    1. a.RadEditor.toggleEnhancedEditTelerik.Web.UI.WebResource.axd:12839
    2. a.RadEditor.onParentNodeChangedTelerik.Web.UI.WebResource.axd:11876
    3. window.$telerik.window.TelerikCommonScripts.Telerik.Web.CommonScripts.repaintChildrenTelerik.Web.UI.WebResource.axd:96
  1. Uncaught Error: INVALID_ACCESS_ERR: DOM Exception 15 Telerik.Web.UI.WebResource.axd:12839
    1. a.RadEditor.toggleEnhancedEditTelerik.Web.UI.WebResource.axd:12839
    2. a.RadEditor.onParentNodeChangedTelerik.Web.UI.WebResource.axd:11876
    3. (anonymous function)



My design structure is like:

* I have a webpage
* A radwindow is placed in this webpage
* A RadAjaxPanel is placed in ContentTemplate of the RadWindow
* A usercontrol is placed within RadAjaxPanel 
* A RadEditor is placed in the usercontrol


SideNote: I have already refered http://demos.telerik.com/aspnet-ajax/editor/examples/editorinradwindow/defaultcs.aspx for telerik demo, resulted no work for me.

Please guide me if any one know any solution for this.

Thanks in Advance.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Oct 2012, 10:09 AM
Hello,

You can see the following forum thread on the subject: INVALID_ACCESS_ERR: DOM Exception 15 in Chrome.

Kind regards,
Rumen
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.
0
Tanmay
Top achievements
Rank 1
answered on 02 Oct 2012, 04:27 AM
Hi Rumen,

Thanks for your repy. The link you provided was very helpful.

However I solved my issue by just placing below code snippet at the end of my usercontrol in HTML.

<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
<script type="text/javascript">
try { setTimeout(function () { $find('<%= radEditorEmailText.ClientID %>').onParentNodeChanged();
}, 1000); } catch (e) { }
</script>
</telerik:RadScriptBlock>

This solved my issue.

Thanks again.



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