Using version 9.2.20092.2025 (also tested in 8.2) and FireFox 3.6
Anytime I try to sort or basically anything with JavaScript I get the error:
Error: document.getBoxObjectFor is not a function
And the section in the source file looks like this:
else if (ig_csom.IsFireFox && document.getBoxObjectFor(elem)) { var rect = document.getBoxObjectFor(elem); r.x = rect.x; r.y = rect.y; r.w = rect.width; r.h = rect.height; }
Can anyone else confirm this?
Basically the grid is completely broken in this new version of FireFox.
Any knows if Infragistics team will fix this problem soon?
Hello Guys,
This issue is reported to the dev team and it will be fixed in the next service release. You can refer the Release calendar here:
http://es.infragistics.com/support/service-releases.aspx#ServiceReleases
Regards,
"Infragistics support" is an oxymoron. Their license states that developer support for ver 8.2 is valid through 2011. However when I opened a support case, after 4 interactions and denial of responsibility, they best "support" they could give me is a link to this community post.
I'm done. I will not purchase any more Infragistics products, nor will I recommend them to our clients (which in the past have included names such as Kraft Foods).
We need a solid 8.2 fix NOW, not in April, and not requiring an upgrade.
Hello,
I am sorry this issue is causing you so much trouble. It is really out of our hands and was forced on us by the browser's breaking backward compatibility.
As you can see on the same page about support of the products our policy is to issue Service Releases (i.e. patches) during one year after a product is released. And 3 years to offer help to developers by providing necessary information and available workarounds. All of this is strongly tied to the way the company operates and resources are distributed.
Big thanks Dominik Lang and sulawesi that jumped onto this issue and offered a viable work around, we could not have done it better.
Mike,
If you need help finding the most effective way to apply this workaround throughout your applications, please let us know. We will be more than happy to do that for you.
Thank you for understanding.
You are correct, the most general way would be redirecting the java script path to a local folder and fixing the java script file the method is used in.
By default all of the JavaScript files are embedded into the assembly. To direct the application to use a local folder for the IG controls follow the steps in this article:
http://help.infragistics.com/NetAdvantage/ASPNET/2009.2/CLR3.5/?page=Web_Deploying_an_Application_to_a_Hosted_Server_Environment.html
Then copy all of the JS files from here: "C:\Program Files\Infragistics\NetAdvantage for .NET 2008 Vol. 2 CLR 3.5\ASP.NET\Scripts" (what whatever your install path is) to the local folder you specified in the web.config.
Open ig_WebGrid.js and find function igtbl_getAbsBounds.
Change it to look as following:
function igtbl_getAbsBounds(elem, g, forAbsPos){ if (elem.offsetWidth == 0) return {x:0,y:0,w:0,h:0}; var r = new Object(); if (typeof(elem.getBoundingClientRect) != "undefined") // changed line { var rect = elem.getBoundingClientRect(); r.x = rect.left; r.y = rect.top; r.w = rect.right - rect.left; r.h = rect.bottom - rect.top; } else if (ig_csom.IsFireFox && typeof(document.getBoxObjectFor) != "undefined") // changed line ...
Thank you very much! I was finally able to get 2008.2 working in the latest ver of Firefox. The instructions above helped me to get the changes set up correctly and it is working well now.
Here is what I did per the instructions above:
1) Copied my scripts folder on my system to a new folder within my website called "ig_Scripts".
2) Modified this line in my web.config to tell IG to look in the new folder for the modified script files.
<
infragistics.web styleSetName="Default" styleSetPath="~/ig_res" javaScriptDirectory="~/ig_Scripts" />
3) Changed the ig_Webgrid.js file per the instructions above.
Thank you for giving me the missing pieces on how to get the modified javascript file to work.
hi,
i am confused about the step you mentioned.to solve issue can reply me how to change webdataGrid java script file to changed java script in web.xml.if possible reply all the step to solve this issue....
Hi,
This issue affects the 'UltraWebGrid' which is a different control than the 'WebDataGrid'. The 'WebDataGrid' does not have this issue. If you are experiencing a different issue, it would be best to start a new thread so that other people having the same issue can more easily find the post.
Please provide any JavaScript errors you are receiving and/or steps to reproduce so that we can help you resolve any issues. Thanks.