Hello
When pressing the arrow button, the dropdown is not shown. Any ideas?
Thanks a lot.
Hey guys,
I am having a problem at the same line of code within function igdrp_expandEffects(owner,props) :
while(o<0&&(pe=pe.parentNode)!=null)if(pe.filters)o=100;
I am using Infragistics 20111.2238 (which is the current hot fix version, as of 2012-10-29. We have also experienced this problem under 20111.2178, and under 20101.*), and the problem shows up on certain computers and not others. It is a consistent problem in that for a machine that does not work, it ALWAYS does not work. It started off as just a single machine that was failing, and over the past year, has increased to over 10 machines. (This represents about 10% of the user base... The rest do not experience this problem...) When a user tries to click on a WebDateChooser, they get a javascript error:
Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.30729; .NET CLR 3.5.30729; OfficeLiveConnector.1.5; OfficeLivePatch.1.3) Timestamp: Tue, 23 Oct 2012 15:26:20 UTC Message: Unspecified error. Line: 347 Char: 40 Code: 0 URI: http://lis.natureconservancy.intranet/Lis/ScriptResource.axd?d=VuwY2H3er3wYe4Qah1czdsslKfF83yH1K7xOe8TfGbnA2a_NNiV-C4Nq1oqlQx-h2Ytnw7DbNLIKXVbrUo2SpTQpySA4H1aTMgHW8gd_FtZc4_cDgSBZj2OqOXNCTd8ds6M9RpmJPlzTKWrXE1GzxlZYG2_kpru-dfK-D2-1ETcpLxjabE6R1ilKZJzvT_XdgphSAQ2&t=ffffffff92365c45
We have downloaded the ScriptResource file in question, and line 347 takes us to the while statement. Character 40 is the "i" of the "if" keyword.
while(o<0&&(pe=pe.parentnode)!=null)if(pe.filters)o=100;
Notes on our debugging process:
- We have examples of this working and broken in identical versions of IE8 from a client's machine directly (= Not Citrix. See Below.)
- We have examples of this working and broken in identical versions of IE9 from a client's machine directly (= Not Citrix. See Below.)
- We have examples of this working and broken when using the exact same instance of IE running over Citrix. (To me, this is the most convincing argument that it's not a browser-specific problem.) The Citrix environment is a single server, NOT a farm, and when accessing the website via Citrix, some machines always fail, and some machines always succeed. However, with this problem starting to become more prevalent over the past year, there has to be SOMETHING that is making it start to break. Windows Updates, perhaps? We have compared Citrix Client versions, Java versions (as the Citrix Client runs over Java), and IE versions on the client's machines (even though IE on the client machine "shouldn't" have anything to do with the Citrix copy of IE that's actually running.)
- Compatibility mode is not an issue, because we've tested a "broken" machine with compatibility mode on and off (and with IE8 and IE9). It breaks under all circumstances.
- From a failing computer, it appears to fail no matter who is logged onto the computer. (We use Windows Authentication.)
- From a working computer, it appears to work no matter who is logged onto the computer. (We use Windows Authentication.)
Obviously, the ASP.NET Classic Controls are 2 toolsets behind the times, but I don't have the budget from the client to upgrade to either the Aikido framework or the IgniteUI framework.
I realize that asking for a proper fix might be pushing my luck, but I'm willing to update and deploy my own copy of ig_webdropdown.js if you can help me figure out how to deploy it. In fact, I already tried to split that single line (consisting of a while, an if, and a statement to run) into multiple lines, to make sure that the problem really DOES lie with the IF statement, but I can't seem to get the website to use my copy of the .js file. I have tried following the instructions at:
http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.1/CLR4.0/html/Web_Deploying_a_Web_Application_that_Uses_NetAdvantage_for_ASP_NET_Controls.html
Namely, I have created a directory for "C:\Inetpub\wwwroot\aspnet_client\Infragistics\20111CLR\Scripts", placed a custom copy of ig_webdropdown.js in it (I added an alert at the top of the file, and one at the beginning of the igdrp_expandEffects(owner,props) function, neither of which are firing), and created a virtual directory called "ig_common" that points to "C:\Inetpub\wwwroot\aspnet_client\Infragistics".
(Note: I realize the instructions are for CLR4.0, and I'm targeting 3.5, but a quick hack of the link didn't take me to equivalent 3.5, 3.0, or 2.0 copies of the file...)
I have also cleared the browser's cache, and upon requesting the .js file directly from IE, am able to download my updated copy of the file.
Thanks for taking the time to read this, and let me know what other information I can provide to help! As I said, I'm willing to roll with a proper fix (new dll's) or just updating and deploying a customized version of the .js file.
Jamie Foster
Hello Jamie,
I am having same issue with dateChooser control. But my environment is different, the problem is occurring only on IE-8 with windows-7 operating system.
I tried the solution which you have mentioned to split statement into three different line but still I am facing the issue. We are using.Net 2.0 and infragistics version 2008 volume 2.
can you please help me on this issue.
Hey Subhash,
Unfortunately, we haven't gotten to the bottom of this one yet. The problem appears to be resolving itself. I had built a test application, and it consists of a single page:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="NCCTestApp.Default2" %> <%@ Register Assembly="Infragistics35.WebUI.WebDateChooser.v11.1, Version=11.1.20111.2178, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.WebSchedule" TagPrefix="igsch" %>
<!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <igsch:WebDateChooser ID="wdcEffectiveDate" runat="server"></igsch:WebDateChooser> </div> </form> </body> </html>
This page used to fail for about 10% of their client machines, but now only fails for about 2% of their client machines. Infragistics has opened up a support case for me (CAS-104676-F1G7T8), but since this problem seems to be resolving itself, my client isn't interested in pursuing it at this time. I'm not sure what the protocol is for support cases, but if you've got the same problems that I do, maybe Infragistics will let you access/share the support case.
Sorry I can't be more help.
Jamie
P.S. In reviewing my bug reports, it looks like all of the client's complaining happens on or after the 13th of each month. Maybe it's a date format thing??? I'll see if I can investigate further.
I found the cause of the issue in Firefox.
In the file ig_shared.js the line that reads as follows is not checking against Firefox when determining if the browser is IE or not:
this.IsIE = document.all != null && !this.IsOpera && !this.IsSafari;
should read:
this.IsIE = document.all != null && !this.IsOpera && !this.IsSafari && !this.IsFireFox;
I am having the same issue except that I am getting the issue in Firefox only. It works fine in all other browsers.
The line that throws the error is a couple lines below what the others are reporting.
I get TypeError: e.filters is undefined on the following line also in the igdrp_expandEffects function:
if(e.filters[0])try{if(p)e.filters[0].play();else e.filters[0].apply();}catch(ex){}
I am using Infragistics35.WebUI.WebDateChooser.v11.1, Version=11.1.20111.2225