I have a page that uses frames because it hosts content from different domains. In one frame, I have the RadEditor. If I type in some text and then click in the other frame to do something and then return to the RadEditor frame, it gives the debug message that access is denied. I do not get this effect in Firefox or Chrome. It only happens in IE, I'm using version 7.0.5730.13.
My research tells me this is a known issue for quite a while and that the browser is the root cause of this. Can you confirm this and/or is there a hotfix possibly that addresses this? If not, do you plan to address this in an upcoming release? Are there any workaround suggestions?
Aside from that, I was able to make a minor code adjustment in the offending script (RadEditor.js) that seems to have gotten me past the problem. I don't know yet what side effects if any may stem from this. Anybody who decides to try this will have to do so at their own risk.
Note that the commented out code is the lines I added.
| if($telerik.isIE){ |
| Telerik.Web.UI.Editor.RestorePoint.prototype={update:function(){ |
| this.HtmlText=this.Document.body.innerHTML; |
| //try { |
| var _76e=this.Document.selection.createRange(); |
| //} |
| //catch(ex){} |
| //try { |
| if(_76e.length){ |
| this.SourceIndex=_76e.item(0).sourceIndex; |
| }else{ |
| this.StartBookmark=_76e.getBookmark(); |
| } |
| //} |
| //catch(ex){} |