I recently upgraded my Infragistics (Infragistics_Ultimate_20151_WithSamplesAndHelp.zip), so I am using Infragistics45.WebUI.WebHtmlEditor.v15.1.dll and Infragistics45.WebUI.Shared.v15.1.dll.
The rich text editor works great in IE11 and Firefox, but when I try and use IE10 I get a SCRIPT5: Access is denied and the user can't input anything into the textbox.
In Developer Tools (where I see "SCRIPT5: Access is denied.") it points to
o._cDoc=function(){return this._elem.contentDocument;}
in
function iged_init_moz(ids, p1, p2, p3, p4, p5, div)
Any idea what's going on?
Thanks!
Hello Matt,
Thank you for your reply. Glad you were able to resolve the issue. Please do not hesitate to contact me if you have any further questions regarding this matter.
Finally got to the bottom of this. There was an old meta compatibility tag in the master page that was causing me the grief. Sorry for the wild goose chase, Marina.
I have researched your issue and here is what I found:
http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/ie10-script5-access-is-denied/e87bdb30-7f2a-4510-bfa3-a22b995f777b?auth=1
http://stackoverflow.com/questions/151362/access-is-denied-error-on-accessing-iframe-document-object
I suggest you to consider this options and see whether they solve your issue. As you are using the last Service Release of the 15.1 the JS files should be up to date and what is more I don’t believe that will help you solve the issue. Please take a look at the provided suggestions and let me know how they work for you.
Marina,
What do I need to do to be able to modify one of your javascript files?
In previous downloads we got the javascripts in the CLR...
C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\ASP.NET\CLR4.5\Scripts
Thanks,
Matt
I was comparing IE 10, IE 11, and Firefox debuggers.
This is where it errors out in IE 10: ScriptResource.axd -> function iged_init_moz -> o._cDoc=function(){return this._elem.contentDocument;}
IE 11 and Firefox skip the following section in function iged_init_moz, but IE 10 does not:
/* IE11+[browserMode=IE7]+[documentMode=11/Edge]: find DIV-editor and replace it by IFRAME */
if (div)
{
div = elem;
divStyle = div.style;
elem = document.createElement("IFRAME");
elem.width = elem.height = "100%";
elem.frameBorder = "0";
div = div.parentNode;
td = div.parentNode;
td.removeChild(div);
elem.id = ids[1];
td.insertBefore(elem, td.firstChild);
}
Something in the above "if" seems to be causing this line "o._cDoc=function(){return this._elem.contentDocument;}" to throw the SCRIPT5 error.