I just wanted to give everyone a heads up on a problem that took me a while to track down.
After upgrading a project with a chart control from 7.2 b 1069 to the latest hotfix for 7.2 I started getting an error in IE which seemed to be sporadic and even random at times.
Internet Explorer cannot open the internet site http://thesite/ Operation aborted
I found this Microsoft KB article on the problem:
http://support.microsoft.com/default.aspx/kb/927917
Finally, I discovered that it was the chart control that was generating the error. In my application the chart control is contained within a Div tag.
If the user generates a post back and the mouse is left on the screen where the chart is going to render the error is thrown. My guess is that the tool tip used by the chart control is something like a dynamic div tag that positions itself relative the location of the mouse cursor. According to the KB article it appears that the chart control is trying to create that tag in the parent div tag which has yet to finish rendering on the screen... resulting in the error.
This was a very frustrating problem to track down and I hope this post helps someone else save time and a headache.
I have submitted an IR to Infragistics with the following ID: WBC4883
Hope it helps,
Patrick
Update 1:
Turned tooltips to mouse click and still have the problem.
Turned off tooltips and still have the problem.
Thank you Patrick for sharing your problem here in the forum! I had the same issue and was searching for weeks. (Not easy to find the cause for this error.)
Uli
this is fixed in the following versions:
7.2.20072.1080 CLR 2.0, 7.3.20073.1054 CLR 2.0, 8.1.20081.2049 CLR 2.0, 8.1.20081.2049 CLR 3.5, 8.2.20082.2013 CLR 2.0, 8.2.20082.2013 CLR 3.5
which means the next available hotfix should resolve this issue.
i've never had any problems with the body.onload event, but it's HTML, so nothing is certain :) ...your workaround of placing the script outside the body tag sounds good to me.
The Body onload event did not work for me. The div tag's display style was not changing. Read some documentation that Body onload may not be that reliable...? Any thoughts.
Instead what seems to work well is to call the function (to make div visible) at the end of the page, after the close body tag and before the close html tag
P.S. Thanks for the post and pointing us in the right direction.
Regards
Bill
David,
Thank you for taking the time to find a work around.
Update:
Implemented, tested, and working well.
this fix is forthcoming, but here's a workaround in case you need one. just hide the chart in a div, and use javascript to show the div when the body is done loading. this prevents the mouse interaction code from throwing this error before the page is ready.
<html>
<head>
<script type="text/javascript">
function body_onload()
{
document.getElementById("theDiv").style.display = "";
}
</script>
</head>
<body onload="body_onload();">
<form>
<div id="theDiv" style="display:none"><igchart:UltraChart /> <div>
</form>
</body>
</html>