[Mono-bugs] [Bug 76663][Nor] Changed - [2.0] Cannot set master page title using Title attribute

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Feb 7 12:20:46 EST 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by toshok at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76663

--- shadow/76663	2005-11-30 18:44:58.000000000 -0500
+++ shadow/76663.tmp.28390	2006-02-07 12:20:46.000000000 -0500
@@ -31,6 +31,44 @@
     }
   </script>
 
 Since this is a very basic aspect of using master pages, I thought you guys would like to know. :)
 
 John
+
+------- Additional Comments From toshok at ximian.com  2006-02-07 12:20 -------
+Maybe I'm misunderstanding the desired behavior.
+
+can you attach a working test case of this?
+
+I have the following:
+
+page.aspx:
+<%@ Page Language="C#" Title="This is the Page's title"
+MasterPageFile="master.master" %>
+
+<asp:content ID="title" ContentPlaceholderID="TitlePlaceholder"
+runat="server">
+This is the Page's heading
+</asp:content>
+
+
+master.master:
+<%@ Master Language="C#" %>
+<head>
+<title>This is the Master Page's title</title>
+</head>
+<body>
+
+<h1>
+<asp:contentplaceholder ID="TitlePlaceholder" runat="server">
+This it the master page's heading
+</asp:contentplaceholder>
+</h1>
+
+</body>
+
+
+----
+
+and when I load the page on windows, the html area says "This is the
+Page's heading" but the title bar says "This is the Master Page's title".


More information about the mono-bugs mailing list