Hi,
I am developing a Web Portal application. I am testing the UI and it works flawlesly in FF, but does not work in IE.
It is hard to pin down what is wrrong exactly, and I think there may be many problems, but the two symptoms that appear at this stage are:
Microsoft JScript runtime error: Object required.
which happens at this line when one of my data widgets has downloaded data:
_getElement("widget_content_msg_100").style.display = "block";
this error does NOT happen on the initial run of IE, only when the page is refreshed/reloaded.
The next error is:
htmlfile: unknown runtime error
at the line shown below - this is run when I create the widgets:
var remote_container = document.createElement('div');
Sys.UI.DomElement.addCssClass(remote_container, "remote_container");
//remote_container.setAttribute('class', 'remote_container');
remote_container.setAttribute('id', 'remote_container_' + widget.UId);
var iframe_element = document.createElement('iframe');
Sys.UI.DomElement.addCssClass(iframe_element, "remote_iframe");
//iframe_element.setAttribute('class', 'remote_iframe');
iframe_element.setAttribute('id', 'remote_iframe_' + widget.UId);
iframe_element.setAttribute('src', widget.Url + '?date=01/02/2008');
iframe_element.setAttribute('frameborder', '0');
iframe_element.setAttribute('marginwidth', '0');
iframe_element.setAttribute('marginheight', '0');
iframe_element.setAttribute('align', 'left top');
iframe_element.setAttribute('onLoad', 'calcHeight(' + widget.UId + ')');
iframe_element.innerHTML = "An iframe capable browser is required to view this web site."; ///////////////// THIS LINE
remote_container.appendChild(iframe_element);
widget_body.appendChild(remote_container);
Any help apreciated,
Thanks, kmreid
I am developing a Web Portal application. I am testing the UI and it works flawlesly in FF, but does not work in IE.
It is hard to pin down what is wrrong exactly, and I think there may be many problems, but the two symptoms that appear at this stage are:
Microsoft JScript runtime error: Object required.
which happens at this line when one of my data widgets has downloaded data:
_getElement("widget_content_msg_100").style.display = "block";
this error does NOT happen on the initial run of IE, only when the page is refreshed/reloaded.
The next error is:
htmlfile: unknown runtime error
at the line shown below - this is run when I create the widgets:
var remote_container = document.createElement('div');
Sys.UI.DomElement.addCssClass(remote_container, "remote_container");
//remote_container.setAttribute('class', 'remote_container');
remote_container.setAttribute('id', 'remote_container_' + widget.UId);
var iframe_element = document.createElement('iframe');
Sys.UI.DomElement.addCssClass(iframe_element, "remote_iframe");
//iframe_element.setAttribute('class', 'remote_iframe');
iframe_element.setAttribute('id', 'remote_iframe_' + widget.UId);
iframe_element.setAttribute('src', widget.Url + '?date=01/02/2008');
iframe_element.setAttribute('frameborder', '0');
iframe_element.setAttribute('marginwidth', '0');
iframe_element.setAttribute('marginheight', '0');
iframe_element.setAttribute('align', 'left top');
iframe_element.setAttribute('onLoad', 'calcHeight(' + widget.UId + ')');
iframe_element.innerHTML = "An iframe capable browser is required to view this web site."; ///////////////// THIS LINE
remote_container.appendChild(iframe_element);
widget_body.appendChild(remote_container);
Any help apreciated,
Thanks, kmreid