Skip to Content
0
Former Member
Nov 27, 2013 at 01:56 AM

Force Compatibility Mode in IE for PB 12.5 Webforms

81 Views

Greetings all,

I have a new group of users (clients) using IE 11 and complaining roundly about the webforms not working.

I read that you can generate the page so as to force IE to use compatibility mode.

I am using this website for reference: http://webdesign.about.com/od/internetexplorer/qt/force-compatibility-view-in-ie.htm

It seems to suggest that I can either remove the DocType altogether AND/OR include the following line directly under the <Header>:

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

On my server, default.aspx is the default document. So I tried to edit this document in my deployed website folder.

Unfortunately, this does not appear to work because of a bug that Microsoft does not want to fix described here:

http://connect.microsoft.com/VisualStudio/feedback/details/581278/setting-x-ua-compatible-meta-tag-in-asp-net-4-0-site-doesn-t-work-yes-it-s-at-the-top

There is work-around described in the link above, but I do not understand how to implement it.

Any pointers would be really be appreciated!!

Thanks!!

Paul

This is the beginning of the default.aspx file:

<%@ Page ValidateRequest="false" EnableEventValidation="false" language="c#" EnableViewState="false" SmartNavigation="false" Codebehind="default.aspx.cs" AutoEventWireup="false" Inherits="PBWebApp._Default" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >

<html>

<head runat="server">

<meta http-equiv="X-UA-Compatible" content="IE=8" /> <!--added by paul murray-->

<title>Main</title>

<meta http-equiv="Page-Enter" content="blendTrans(Duration=0.0)" />

PBWeb.NET Compiler" />

<meta name="CODE_LANGUAGE" content="C#" />

<meta name="vs_defaultClientScript" content="JavaScript" />

<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />

<script language="JavaScript" type="text/javascript" src="scripts/PBCollections.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBConst.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBCommonUtil.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBPDFPrinting.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBWindow.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBFile.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBEditMask.js"></script>

<script language="JavaScript" type="text/javascript" src="scripts/PBDataWindow.js"></script>

<%-- User Defined JavaScript Files --%>

</head>

http://connect.microsoft.com/VisualStudio/feedback/details/581278/setting-x-ua-compatible-meta-tag-in-asp-net-4-0-site-doesn-t-work-yes-it-s-at-the-top