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
160
IE8 compatibility issue
posted

Hi,

I have been trialing a few jQuery controls from infragistics and everything was going mostly well.

I have encountered an issue with igCombo, though, when viewed in IE8.

I am using version 2011.2 for my tests but I can see that this issue is also present in the current latest version 2012.1. You can see this issue if you browse to http://samples.infragistics.com/jquery/combo-box/combo-load-on-demand using IE8 or lower. At the bottom of this post is an image showing the error. It's on the line where a variable is being assigned the return of "c.dataView()". And "c" is null.

I also get this error in my tests where I'm not using load on demand, just using a combo with minimum changes to default values.

Please let me know, what I can do eliminate this problem.

Thank you very much for your time,

Kyryll

Parents
No Data
Reply
  • 1775
    Suggested Answer
    posted

    Hi, Kyryll

    I was able to replicate and solve the problem the same way with the 11.2 release in IE8 too! When you use the MVC helper for igCombo (usually in the body section of a page) and attach an event handler (usually in the head section before the MVC helper), you need to use the live() or delegate() jQuery methods to attach events.

    If you use the igCombo() initialization syntax this messes things up with the MVC helper and you get the JS exception in IE8 or older. In other browsers this works fine. Anyway, no matter which browser do you use it is better to attach events with the live() or delegate() methods, and not use the initialization syntax.

     Please, reply if you need some further assistance.

    Cheers, Lazar

Children