Showing posts with label IE9. Show all posts
Showing posts with label IE9. Show all posts

Monday, March 21, 2016

Compatibility mode in IE–Developer

Enable Compatibility mode in IE through code in .NET or Web.config or HTML meta tag.

We can achieve this by setting the value of the compatibility mode.

Web page can specify compatibility mode either by using META tag or by setting the HTTP header, note thatMETA tag will take precedence over http header when both are present.

Sol 1: META Tag- place the following code in head element of web page (HTML page).

<meta http-equiv="X-UA-Compatible" content="IE=8, IE=9"/> 

Sol 2: HTTP Header- We can configure our server to send a HTTP Header along with each page i.e., send X-UA-Compatibility: IE=8 HTTP header 

Add the following code snippet in web.config file:

<system.webServer>
    <httpProtocol>
        <customHeaders>
            <clear/>
            <add name="X-UA-Compatible" value="IE=9"/>
        </customHeaders>
    </httpProtocol>
<system.webServer>

Here are other options:

  • "IE=edge"
  • "IE=11"
  • "IE=EmulateIE11"
  • "IE=10"
  • "IE=EmulateIE10"
  • "IE=9"
  • "IE=EmulateIE9
  • "IE=8"
  • "IE=EmulateIE8"
  • "IE=7"
  • "IE=EmulateIE7"
  • "IE=5
 

Thursday, August 07, 2014

How to enable browser compatibility mode for your website

After every browser major release there will be something's which always mess up. Can’t say its always but it has happened so far :- )

So you might asked to force to the stable version of the browser to make sure your web application renders well in the browser. Here are some things we can add to existing page to make sure it works in the compatible mode by forcing the version we would like to render.

Method 1: If its at page level.

<head>
<!-- Mimic Internet Explorer 9 -->
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >
<title>My webpage</title>
</head>



Method2: You can do the same globally in web.config by adding code like below


<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<clear />
<add name="X-UA-Compatible" value="IE=EmulateIE9" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>


The value attribute is used to set the default render engine to render page. If you are looking for IE8 compatibility use the following code


<add name="X-UA-Compatible" value="IE=EmulateIE8" />


we can also use this tag


<add name="X-UA-Compatible" value="IE=Edge" />


IE=edge indicates that IE should always use its latest rendering engine to render the page. This should ensure the page is rendered consistently with other browsers and in a standards-compliant manner


The following is the documentation that I've used to try understand how IE decides to actually trigger the compatibility mode.

http://msdn.microsoft.com/en-us/library/ff406036%28v=VS.85%29.aspx

http://blogs.msdn.com/b/ie/archive/2009/02/16/just-the-facts-recap-of-compatibility-view.aspx

Thursday, September 23, 2010

IE9: Top keyboard shortcuts

Set aside your mouse and use these keyboard shortcuts to help keep you browsing more efficiently. In Internet Explorer 9, some of your most frequent and essential tasks can be accomplished more quickly by using the keyboard.

Press this

To do this

Alt

Show the menu bar. After you make a selection, the menu bar goes away.

Alt+M

Go to your homepage.

Alt+C

View your favorites, feeds, and browsing history.

Ctrl+J

Open Download Manager.

Ctrl+L

Highlight the text in the Address bar.

Ctrl+D

Add a webpage to your favorites.

Ctrl+B

Organize your favorites.

How to uninstall Internet Explorer 9

Some users may have installed the beta of IE9 to just to have a sneak peak of it and want to go back to a previous version of Internet Explorer after testing the beta release on their computer. The question came up if the installation of Internet Explorer 9 affects another version of Internet Explorer on the operating system. The answer to that question was yes: Internet Explorer 9 replaces an older version of Internet Explorer during installation. So you need to uninstall IE9 to go back to stable version of Internet Explorer.
Unlike most other programs on your computer, however, you won't find IE9 listed on the Uninstall or change a program screen. Windows Internet Explorer 9 has been installed as a system update in the operating system.

Here's what you need to do to uninstall IE9 on Windows Vista or Windows 7:

  • Click Win+R and type appwiz.cpl. click your windows button and type view updates in the search box
  • Once the results appear, click view installed updates
      Don't want to search? Press Win+R and paste in the following:
      C:\Windows\explorer.exe shell:::{d450a8a1-9568-45c7-9c0e-b4f9fb4537bd}
      then press Enter.
  • Wait for the Uninstall an update screen to load completely
  • Scroll through the list until you find Windows Internet Explorer 9 (see fig below)
  • Click once to highlight IE9, then click the uninstall button (or right-click and uninstall)
  • Confirm that you want to uninstall (click yes)

    ie9unistall

  • Click one of the following:
    • Restart now (to finish the process of uninstalling Internet Explorer 9, and restore the previous version of Internet Explorer).

    • Restart later (to wait until you shut down or restart your computer).

    Hope this helps!

    Saturday, September 18, 2010

    How to solve Internet Explorer 9 installation problems?

    Problems having installing IE9 on Vista, Windows7 or Windows 2008. Here is a beautiful summary of troubleshooting these issues from Microsoft. This URL have all the necessary information about Pre requisites and resolutions.

    Click this URL for more information.

    Thursday, September 16, 2010

    Micrsoft launches new explorer IE9 beta

    Microsoft is back to take its internet explorer turf from Google Chrome and Firefox with newly launched beta version of Internet Explorer 9 (IE9). Microsoft claims that IE9 delivers faster speed as it uses HTML5 and new web technologies like CSS3 and SVG2 and GPU for acceleration.

    Check out the new developer capabilities of Internet Explorer 9 here at IE9 Test Drive.

    IE9 will only be available for Windows Vista and Windows 7 -- those still using XP will have to stay with IE8.

    There are many new features in IE9.

    Some of them are listed below,

    - A completely new design
    - Pinned sites
    - A download manager
    - Enhanced tabs
    - New tab page
    - Search directly in the address bar
    - Notification bar
    - Add-on performance advisor
    - Hardware acceleration.

    Using Internet Explorer 9, you can pin sites like Hotmail, CNN and Facebook to your taskbar and then launch them like an app. To pin, just grab the tab in the browser and drag it to your taskbar.

    You can Download IE9 beta from this link.