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?
The meta tag is already first tag of the head section, we read and implemented the solution with this way, but still, it is not working.
We are not comparing upgrading components to work with compatibility mode. We will upgrade our components. But as you know upgrading is not an so easy process. while you have lots of customer , there will be a lot of different situations while upgrading.
So as a temporary solution, i just want to know, is compatibility mode solution can be implemented by anyone else? What is the point that we miss?
Fatih.
This hint helped me a lot! Thank you.
Fatih,
Try this (works for me):
<!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"><head id="Head1" runat="server"> <meta http-equiv='X-UA-Compatible' content='IE=8' /></head>
It's possible you'll be required to close and reopen IE9 as reported in the comments here:
http://evolpin.wordpress.com/2011/02/25/ie9-compatibility-and-the-meta-tag/
Unfortunately, this seems to solve only a part of these issues. When UltraWebGrid has a fixed table layout and scrollbars, there are still problems. The v10.3 release still doesn't solve these issues from what I've seen.
Quick question... Do you have the IE Developer tool opened? If so, that may be overriding your meta tag, because it has a menu that lets you specify the rendering mode