Bug Report B142101
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

Add support for Google Chrome Frame plug-in for Internet Explorer

Strange JavaScript error with ASPx controls

created 15 years ago

I have one user who encounters JavaScript errors on most (if not all) web pages I've created using ASPxperience 9.2.6 and 9.2.8 (wasn't a problem in 8.3).
The most common error is in the Actual results box below.
Most of the pages use the ASPxPopUp control. The errors occur on a fresh GET request.
The user is using Windows XP SP3 and IE8. They had the same problem using IE7, and I asked them to upgrade but with the same results. Launching without add-ons makes no difference. I've checked their environment for any obvious problems but cannot find anything that would be interfering. I've reset security settings, advanced options, cleared the cache, updated using Windows Update, etc.
I cannot reproduce the errors on other machines running IE6/IE7/IE8.
Any ideas what might be causing this?
Actual Results:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; chromeframe; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; MS-RTC LM 8)
Timestamp: Thu, 12 Nov 2009 22:25:13 UTC
Message: Object doesn't support this property or method
Line: 1676
Char: 3
Code: 0
URI: http://migsptest/EIS/DXR.axd?r=1_103

Show previous comments (6)
DevExpress Support Team 15 years ago

    Sam,
    That's true, the problem described in the B142057 thread is similar. Our R&D team guys have already looked into this problem, however, we didn't manage to isolate the issue locally. Is there any chance that you can provide us with remote access to the problematic machine, so that we can take a closer look?
    Thanks,
    Alex

    ?
    Unknown 15 years ago

      I figured it out. The prescence of "chromeframe" in the user agent is causing this problem. For some reason, ChromeFrame does not always attach this string to the user agent. In any case, it is likely that your JavaScript code is looking for the "chrome" substring and assumes this means it's executing under Chrome, which is incorrect. Google has scripts available to help you differentiate between the two.
      This would be a bug in the DevExpress code. Likely this was not an issue in 8.3 because there was probably little/no Chrome detection code.
      Note that this doesn't just affect the JavaScript code, it seems to affect server content as well (getting different markup with that user aganet), as you probably have to fix this in the script AND on the server side.
      You may want to ensure that other bug report is marked as solved when this one is.

      DevExpress Support Team 15 years ago

        Hi Sam,
        I believe you're referring to a known issue. There was a bug in Chrome Frame plugin itself, and it has already been fixed (see Add support for Google Chrome Frame plug-in for Internet Explorer). So, I suggest that you install the most recent Chrome Frame version on your machine, and then check whether this problem is gone. Other than that, note that we cannot guarantee that a web page is rendered correctly via the Google Chrome Frame, because we don't officially support it.
        Thanks,
        Alex

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.