Ticket T180868
Visible to All Users
Duplicate

IE Compatibility Mode - How to correct Domain Controller Policy

created 10 years ago

[DevExpress Support Team: CLONED FROM KA18646: How to adjust DevExpress ASP.NET controls when opening a page in the Internet Explorer Compatibility Mode]
Hello  Mike,
Standard browser in our mill is IE, with possibility installing Firefox also…
Domain controller forces propably IE7 Document Type and mean that are our troubles with proper display web forms - screenshot.
What  C# statement from above should by the best for us ?
Regards
Waldemar

Comments (1)

    I added second screen with Compatibility Mode dialog box to our Domain.
    Main question of whether it makes sense to change something on Domain Controller - propably any scripts that set IE to  IE7 Documeny Type or set any of:
    DevExpress.Web.ASPxClasses.ASPxWebControl.SetIECompatibilityModeEdge(this.Master);
    in PreInit event in every page ?
    BR
    Waldemar

    Answers approved by DevExpress Support

    created 10 years ago (modified 10 years ago)

    Hello Waldemar,

    If there is NO need to adjust your app for older IE versions, the simplest way to resolve this issue is to use the DevExpress.Web.ASPxClasses.ASPxWebControl.SetIECompatibilityModeEdge method (i.e., force the use of the latest available IE Compatibility Version).

    Note that starting with the upcoming major version 14.2, we have significantly improved this functionality.
    I will update the corresponding resources accordingly once a new version is available for download.

      Show previous comments (8)

        Great news! I am happy to hear about it.

          Hello again,
          Atrubute ieCompatibilityVersion="7" working great with IE9+.
          We have some old computers with WinXP + IE8 and seems that IE8 still has problems - attached png file - impossible to select value from combo list.
          Our question :
          Is possible to leave atribute ieCompatibilityVersion="7" in web.config for most cases with IE9+ and
          set PreInit event for other cases, e.g WinXP+IE8 ?
          protected void Page_PreInit(object sender, EventArgs e)
          {
             DevExpress.Web.ASPxClasses.ASPxWebControl.SetIECompatibilityMode(7);
          }
          BR
          Waldemar

            Hello Waldemar,

            >>We have some old computers with WinXP + IE8 and seems that IE8 still has problems - attached png file - impossible to select value from combo list.

            The "ieCompatibilityVersion" option does the same at the application level (not a page). We have tested this new configuration option under the mentioned configuration.

            If you are still experiencing issues, would you please confirm?
            - If you have upgraded your application to version 14.2 (because the "DevExpress.Web.ASPxClasses" namespace no longer exists there);
            - If this issue is browser-specific, invoke the browser's Dev Toolbar and:
                - Clarify the state of the Browser Mode / Document Mode settings set after loading a page;
                - Check if there are no errors in the console and the network monitor.

            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.