htmlvb.netasp.net-mvc-3server-tags

ASP.NET Server tags being rendered in IE6, IE7 and IE8


I've got a weird issue where the ASP.NET closing server tags are being rendered on the page and I'm not able to figure what is causing this issue. There is nothing in between the body and the first div, which has an id="Page". There is no issue in other browsers. Do you have any ideas?

This is the code behind and what gets rendered in IE6, notice the server tags, right before the intial div.

IE 6 https://i.sstatic.net/FkIZ2.png

IE8 same issue, different place, and there is also a snapshot from inspecting the elements which confirms the place of the server tags (though that control uses another master page, that has a simillar structure - see code below).

IE 8 https://i.sstatic.net/WqjB6.png

Any ideas are good, cos at the moment I don't know what else to try. :) Thank you in advance!


Solution

  • You missed the final delimiter of the href in the lt IE 9 <link>.

    Just add the delimiter and everythings should work fine.