I have created intranet webpage - page1.html. It has
<a href="page2.aspx" > page2</a>
Now, page2.aspx has some c# code and the rest is html5 code. If browser is set to run in "compatibility mode" it does not appear properly.
So in page2.aspx I added this code -
<head> <meta http-equiv="X-UA-Compatibl
e" content="IE=edge"> </head>
Hence if i open link http://myserver/mywebsite/page2.aspx
, it appears fine even if in IE browser "show intranet sites in compatibility mode" is checked.
But if i open page2.aspx by clicking on the link in page1.html, it does not appear correctly