If you want to add custom tags to the page header from a content page, you just need to add another
ContentPlaceholder
in the correct position:
Master page:
<%@ Master Language="C#" %>
<!doctype html>
<html>
<head runat="server">
...
<asp:ContentPlaceholder id="HeaderContent" runat="server" />
...
</head>
<body>
...
<asp:ContentPlaceholder id="MainContent" runat="server" />
...
</body>
</html>
Content page:
<%@ Page Language="C#" MasterPageFile="~/YourMasterPage.master" %>
<asp:Content runat="server" ContentPlaceholderID="HeaderContent">
Extra headers here...
</asp:Content>
<asp:Content runat="server" ContentPlaceholderID="MainContent">
Page content here...
</asp:Content>
However, there's no need to do that in this case. Any
<meta http-equiv...
tag is a substitute for a response header. All you really need to do is add the header from the code-behind of your content page:
public partial class YourPage : Page
{
public void Page_Load(object sender, EventArgs e)
{
Response.AppendHeader("X-UA-Compatible", "IE=7");
}
}