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
3760
IE8 AJAX error on tab index change
posted

Hello all,

A client-side error is thrown in IE8 when changing to another tab during runtime.

This error does not occur when using IE9 or FF.

I included a screen grab highlighting the issue.

It seems that the elem.offsetHeight is zero and a divide by zero error occurs.

How can I create an ovverride of this script resource file? Or are there any other reasons why this is occuring?

My environment is as follows:

IE8

Widows XP Pro 32 bit.

Infragistics ASP.Net Version 11.2.20112.2125

.Net 4

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

Regards.

Parents
No Data
Reply
  • 49378
    posted

    Hi JJB,

    Thank you for posting in the community.

    It would be helpful if you can provide more specific information for replicating this behavior as I am so far unable to observe the issue under IE8 using version 11.2.2125. A small sample illustrating the matter would be greatly appreciated.

    Regarding overriding the js function, you could place a script tag just before the closing of thebodyof your form in the following way:

                      <script>                
    $IG.WebTab.prototype._doSize = function () {      

    //Original js code plus overrides

    }

    </script>  //

    // Original js code of the function plus overrides

    }

    // ]]>

    Please let me know if you have any questions.

Children