1
タブのタイトルをASP.NETページに設定できません。ネストされたASP.NETマスターページのタイトル
マスターページがネストされています。タブアイコンは正常に設定できますが、タイトルには常に "ホームページ"が表示されます。私は間違って何をしていますか?
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Topbar.master.cs" Inherits="WebApplication1.Masters.Topbar" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>SomeTitle</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="~/Styles/public.css" rel="stylesheet" type="text/css" />
<link rel="Shortcut Icon" href="~/Images/ionicon.ico" />
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
....
あなたはページタイトルを設定することが可能な@Pageディレクティブを使用してしなければならないコンテンツページ<%@ Master Language="C#" MasterPageFile="~/Masters/Topbar.Master" AutoEventWireup="true"
CodeBehind="Public.Master.cs" Inherits="WebApplication1.PublicMaster" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<asp:ContentPlaceHolder ID="head" runat="server">
</asp:ContentPlaceHolder>
</asp:Content>
Ah!私はすでにそれが "ホームページ"に設定されていることを確認し、マスター