You must Sign In to post a response.
  • Category: HTML

    Controls are not rendering properly in IE11 and Firefox

    We have asp.net controls are in our application which are not rendering peoperly ie11 and firefox, chrome etc browsers. These controls styles are using .htc files. I heard htc behaviors are not working in firefox and IE11. what is the solution for this?
  • #764217
    basically IE 11 and Firefox follows HTML5 control set and stylesheet, so most of the time back word compatibility is not possible in IE11, you need to switch ON 'compatibility mode' and then test your website
    Follow the steps to switch ON compatibility mode

    1.See if the Compatibility View button Compatibility View button appears in the address bar. (If you don't see the button, there's no need to turn on Compatibility View.)
    2.Click the Compatibility View button Compatibility View button to display the site in Compatibility View.
    alternatively you can switch to following link
    http://winaero.com/blog/how-to-enable-compatibility-view-in-internet-explorer-11-ie11/

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #764220
    I can't do compatibility mode in firefox. So what are the options for firefox.

  • #764242
    Hi Chinnari.

    There is a add-on to be installed for the firefox browser in order to change the compatibility mode .
    You can download User Agent Switcher extension. Which allow you to change the version of firefox.
    From below link you can download that add-on

    https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/

    For more information regarding the switching of versions refer below forum post.

    http://superuser.com/questions/624020/is-there-a-plugin-that-lets-you-switch-firefox-versions

    http://techpatterns.com/forums/about304.html

    Sridhar Thota.
    Editor: DNS Forum.

  • #764278
    Hai Chinnari,
    Yes, either you can do it with the browser or you can write the code to use the browser in compatibility mode.
    At the below link you can get the code snippet for the IE and similarly you can do for other browsers:

    http://stackoverflow.com/questions/6546775/how-to-forcefully-set-ies-compatibility-mode-off-from-the-server-side

    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com


  • Sign In to post your comments