UPDATE: we're using 2009 2 IG package, for example (web.config snippet): Infragistics35.WebUI.UltraWebGrid.v9.2, Version=9.2.20092.2137
We've started testing our application with IE9 (RC). It seems that there's a JavaScript error rising from IG's components:
As you can see, the problem is from the following code:
if (document.implementation && document.implementation.createDocument){ igtbl_XSLTProcessor.prototype.__defineGetter__("output", function _igtbl_XSLTProcOutput() {<snip>
When switching to compatibility view (IE7/8), it works ok.
After debugging a little, it seems like the code "document.implementation.createDocument" (see above) was probably meant to filter out IE and to run on mozilla only. However, in IE9 'createDocument' isn't 'undefined', and the next line of code breaks, as "__defineGetter__" is mozilla-only and isn't supported in IE browsers.
Naturally, I'd hate to tell our customers that our recently released web application breaks on the latest IE browser and that they'll have to use Compatibility View.
Please advise A.S.A.P.
Hi all,
Are there anyone who be able to run UltraWebGrid in IE8/IE7 compatibility mode, in IE9 browser?
We are using older version (2007.1) and trying to find a way other than upgrading to the latest version.
We tried to add compability meta tag to several places:
<meta http-equiv="X-UA-Compatible" content="IE=8" />
1- web page's html>head> meta tag is not working.
2- http header to IIS is not working.
3- custom http header to web.config file is not working.
Thanks,
Fatih
ewolfman reported above that the meta tag has to be the first tag in the <head> section, and that if it is placed elsewhere, it may not work.
Also, as a fellow user (not an Infragistics employee), I really recommend upgrading. The WebDataGrid is lightyears ahead of the UltraWebGrid, and the CDN is also very nice.
2007.1 was terrific, but it's for an older generation of browsers, and you're going to have issues as browsers evolve. What happens when you want to use a control from any vendor built for the next generation, and you have all of your pages stuck in IE8 compatibility mode?
This hint helped me a lot! Thank you.
I had the same error till IG support told me that the 10.3 RTM is still buggy, and these were fixed in a 10.3 SR. On our project 10.3 build 10.3.20103.2134 seems to be working quite well. There's still a small issue, but basically it's working.
Upgrading to 10.3 does not seen to solve this error.
Still getting "Microsoft JScript runtime error: Object doesn't support property or method '__defineGetter__' "
If the control is well writen without using hacks it will work regardless of the ver. of the browser.
This also means that everytime new version of IE, FF or Chrome comes out we have to buy new IG component.
Hi Fatih,
I suggest that you either open the Developer Tools where it is written in the top area in what browser mode you are in, or download the Platform Preview from MS where it is written in the bottom status bar. Unfortunately MS doesn't seem to allow downloading the IE9 preview anymore, so I can only hope that Platform Preview 10 isn't too buggy.
If the browser mode is IE8, then you have used the META tag correctly. If not, I suggest that you View Source and see where the META tag was rendered. I had a situation where my code behind added HTML tags before the compatibility meta tag and that's why it wasn't working. IE also warns of a misused meta compatibility tag in the Script window (read this blog post).