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://ko.infragistics.com/support/service-releases.aspx#ServiceReleases
Regards,
Yeah, this is unacceptable. We are using your product in a web-based financial application and you expect us to deal with this until April?
Even then, your fix is only being applied to 9.1 and 9.2? This needs to be fixed for not only the WebDataGrid, but the UltraWebGrid as well.
Your dev team should have been prepared for this already depreciated code to be remove. This needs to be a higher priority than it April 5.
You are absolutely right !!!
It is unacceptable to wait that long. Also there must be fixes for older Versions like 8.2.
I was just about to recomend IG for a new project over Telerik. But once again IG demonstrates poor support...to say the least!
Our useres are using Firefox. When they did update to 3.6 it was a disaster with UltraWebGrid !!!
I'm really upset with you guys at IG. This function should have never been used in the first place. And now that IG users are bringing up the problem you want to wait till April and don't even bother to fix older versions.
The workaround that saved my day so far, came from a fellow developer...not even from you.
I'm speechless, it's a pathetic display !!!
"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 ...
To look into this we need to know what version of the UltraWebGrid you are using. The issues mentioned earlier in the thread were resolved in the latest service release of 2008 Volume 2 and newer. If upgrading to the latest service release doesn't address the issue that you are seeing then please provide us with the markup for the UltraWebGrid as well as the version you are using so we can test this.
Please also provide more details on how the scripts aren't working when you add the path to the web.config so I know how to better assist you.
Let me know if you have any questions with this matter.
hi Alex,
These line are present in ig_WebGrid.js but still problem is present can you help me how to solve UltraWebGrid Click issue with firefox issue comes with var frameEl=tempE.document.parentWindow.frameElement;
when i click on grid column to edit.
also,
Plz help me for how to change script path of dll through web.config. i have add tag of infragistics.web tag to change script source but it is not working.....
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.
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....
I copied the script lines into a js file and I added the following code to the page_load event:
If (DirectCast(Request.Browser, System.Web.HttpBrowserCapabilities).Type.StartsWith("Firefox3.6")) Then ClientScript.RegisterClientScriptInclude("bugfix-ff36-getBoxObjectFor", "js/bugfix-ff36-getBoxObjectFor.js")End If
Note that I use StartsWith to ensure that all versions of Firefox 3.6 get covered.