Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
435
Javascript Error in WebHtmlEditor
posted

My company is evaluating Infragistics components.  We added Infragistics components to our web application infrastructure, but WebHtmlEditor creates JavaScript errors on the page when it is called.  I was hoping someone else has seen this before or solved it.

 We are seeing JavaScript errors when the page loads and when the WebHtmlEditor gains the focus on a page.  It must be related to the way the WebHtmlEditor expects the page layout to be.  The line that fails is inside iged_init(ids, p1, p2, p3, p4, p5) and the line itself is

var w=this._elem0.style.width;

The reason it fails is because this._elem0 is null; the page throws an "Object Required" Javascript error.  The error only seems to happen in Internet Explorer.

 In C# code, the logic is:

Infragistics.WebUI.WebHtmlEditor.WebHtmlEditor webHtmlEditor = new Infragistics.WebUI.WebHtmlEditor.WebHtmlEditor();  target.Controls.Add(webHtmlEditor);

 

Parents
No Data
Reply Children
No Data