Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

IE bug with chart Control in Div: information

Last post 06-27-2008 11:10 by Patrick. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-11-2008 17:40

    • Patrick
    • Top 25 Contributor
    • Joined on 12-06-2007
    • Albuquerque, NM
    • Points 1,830

    IE bug with chart Control in Div: information

     

    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.

     

    • Post Points: 20
  • 06-18-2008 17:37 In reply to

    Re: IE bug with chart Control in Div: information

    this was submitted as a bug (BR33878) and we were able to fix it in the control's javascript code.  it should be resolved in a future hotfix.

    • Post Points: 20
  • 06-18-2008 17:48 In reply to

    • Patrick
    • Top 25 Contributor
    • Joined on 12-06-2007
    • Albuquerque, NM
    • Points 1,830

    Re: IE bug with chart Control in Div: information

    Sorry, forgot to update the post after I got the BR ID back from dev support.

    Patrick

    • Post Points: 5
  • 06-27-2008 10:34 In reply to

    Re: IE bug with chart Control in Div: information

    Answer

     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>

    • Post Points: 20
  • 06-27-2008 11:10 In reply to

    • Patrick
    • Top 25 Contributor
    • Joined on 12-06-2007
    • Albuquerque, NM
    • Points 1,830

    Re: IE bug with chart Control in Div: information

    David,

    Thank you for taking the time to find a work around. 

    Patrick

    Update:

    Implemented, tested, and working well.

    • Post Points: 5
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems